Access DB name within UDT?
Posted: Sat May 07, 2011 6:29 pm
Is there a simple way to access the database name, username, and password from within a UDT? I have many UDTs that need access to the database, and right now I'm manually assigning the database name to a variable. $DBName = "mydbname";
The database name (and username and password) must be stored in a global somewhere, and I would like to just be able to access that.
Thank you!
The database name (and username and password) must be stored in a global somewhere, and I would like to just be able to access that.
Thank you!