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:[EMAIL PROTECTED]] Sent: Saturday, January 26, 2002 12:08 AM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- 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]