[PHP-DB] Global Connection object

2002-05-01 Thread Shaun Johnston
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

Re: [PHP-DB] Global Connection object

2002-05-01 Thread Lisi
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

Re: [PHP-DB] Global Connection object

2002-05-02 Thread szii
ot; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 5:03 PM Subject: [PHP-DB] Global Connection object > 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 f

Re: [PHP-DB] Global Connection object

2002-05-15 Thread Vinod Palan
(and your webserver) to a single connection. (Will kill your performance.) > > HTH. > > 'Luck > > -Szii > > - Original Message - > From: "Shaun Johnston" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 01, 2002 5