Hi,
I am trying to create a 2D array out of two query's with the intention to display each array item as one row in a table:
So if I have these query's:
select place_id from place;
select new_id from new;
the result of place is: 1, 2, 3
the result of new is: 7, 8
now the row should look like: $new_place = array("7"=>array("1","2","3"), "8"=>("1","2","3"))
I tried nesting two while's which read out the query result, that did not seem to work...
Has anyone an idea? thanx for now