Re: generic function for db setup
| From: | DL Neil | Date: | Thu, 18 Oct 2001 14:02:45 +0000 |
| Subject: | Re: generic function for db setup | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13485@lists.php.net to get a copy of this message | ||
> 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