Hey guys,
Im trying to build a database class for my website, i've got it connecting and querying fine, the problem i am facing is retreiving results, especially when there is more than one.
I could use a loop in my sql_fetch_object() function in my class, and pass back an array, but then the client code would need to go through this array in another loop to access the data.
Is there anyway i can pass back the results without doing this extra loop?
Thanks