I have an object which holds a 2 dimensional array but I can't seem to get the output working.
I look the data like this:
foreach($myObj as $key){ foreach($myObj[$key] as $key2){ echo '['.$key.','.$key2.'], '; } } But i get no output just a blank page. I also have no error's in my error log.
My object is structured like this:
coOrds Object ( [xy:coOrds:private] => Array ( [10] => Array //value 10 would be $key ( [10] => //10 here would be $key2 [11] => [12] => ) [11] => Array ( [10] => [11] => [12] => ) ) } What am i doing wrong for my loops?