RE: [PHP-DB] Connection class
| From: | Rick Emery | Date: | Thu, 31 Jan 2002 19:20:46 +0000 |
| Subject: | RE: [PHP-DB] Connection class | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16368@lists.php.net to get a copy of this message | ||
huh?????
You open the connection once for the page and then you CAN make multiple
queries to it from the same page. Why are you trying to create a class to
do this (unless it's simply an intellectual exercise to create a class)?
-----Original Message-----
From: jas [mailto:jlgerfen@hotmail.com]
Sent: Saturday, January 26, 2002 12:08 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Connection class
Ok well I am in a little over my head with a connection class that I can use
over and over for multiple queries against a mysql db on one page. I have
read a few tutorials on the subject of how to use class files but I still
dont understand php enough to know how to make a connection class that
simply allows me to connect to a mysql database once the page loads and
keeps the connection to run multiple queries on the same page. HELP!!!
Thanks again in advance...
Jas
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net