View Single Post
Old 05-19-2009, 04:48 PM   #10 (permalink)
captainmerton
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default

mysql_fetch_object - this more or less answers my question. Essentially i was asking how i instantiated an object for every row i was pulling back from a database and the only way i could think of doing it was to use a static method in the class with the mysql select in it and call that static function then instantiate an object of the class as a loop through each row upon recall. However this this fetch function does it all for me.

Thanks.
captainmerton is offline  
Reply With Quote