Do you have a question? Post it now! No Registration Necessary. Now with pictures!
November 15, 2004, 11:09 pm
rate this thread
server, and selects the appropriate database.
What is the best way to implement this class? I want to avoid having
instantiate a new Database object every time I execute a query, is this
possible? If I used static members and methods would a connection
(mysql_connect) be called every time? Could I possible store the open
connection in memory and allow it to be accessed by all the users
visiting the site?
Any thoughts are appreciated. TIA.