0
votes
2answers
61 views

Need to loop through an array that is inside of another array

I have an array that contains 2 objects. In order to store it on my backend server service, I need to store it inside of another array. So later on, when I call my server and tell it I want the array ...
0
votes
2answers
129 views

force nested array [closed]

I have the following code which returns a simple array if one result is found and a nested array if more. $query = @mysql_query( $q ); if ( $query ) { $this->num_rows = mysql_num_rows( $query ...