| Posted by Oli Filth on 10/30/05 04:13 
Zsolt Munoz said the following on 30/10/2005 02:11:> I am pretty new to OOP w/PHP but I feel that it may be in my best
 > interest to learn it.  I have created a class to connect to a MySQL DB
 > but when I go to run a query I only get the 1st row from table and
 > cannot get anything else.  Below is the class I created and how I am
 > executing the program.  Maybe someone could give me a hand with this.
 >
 <...snip code...>
 
 From a quick perusal of your code, it appears that you're opening and
 closing the MySQL connection on every function call...
 
 
 --
 Oli
 [Back to original message] |