I want to retrieve my data into a two-dimensional array that I can navigate through with a foreach loop, and be able to add new fields to the array afterwords.
For example
I`m going around in circles with this but I can`t quite seem to get it right. Any suggestions?Code:foreach($query_results as $qr) { $qr->brand_new_field = retrieve_other_data($qr->first_field, $qr->second_field); }


Reply With Quote

Bookmarks