Re: Global Connection object
| From: | Lisi | Date: | Thu, 02 May 2002 08:01:21 +0000 |
| Subject: | Re: Global Connection object | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18937@lists.php.net to get a copy of this message | ||
Just put it in a separate file and include it in whatever page needs to access the DB.
-Lisi
At 10:03 AM 5/2/02 +1000, Shaun Johnston wrote:
Is it possible to make a MySQL connection object global, so that it doesn't need to be declared as a parameter to be accessed from individual functions? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php