> I'm trying to setup a generic function to use to initialize all mysql > database access for a site.. Something like > function($tablename); How can I do this and preserve the connection outside > of that function? > ?
Hi Dustin, Do you want something like: "Making arguments be passed by reference"? (manual coverage of user-defined functions start at http://www.php.net/manual/en/functions.php) Regards, =dn -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]