Generating objects from a MySQL select statement
View Single Post
05-19-2009, 04:48 PM
Join Date: May 2009
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.
View Public Profile
Send a private message to captainmerton
Find More Posts by captainmerton