<?php $rows = array( 'a' => 1, 'b' => array('d' => 3, 'e' => 4, 'f' => 5), 'c' => 2 ); $rows = new ArrayIterator($rows); foreach ($rows as $key => $row) { if (is_array($row)) { foreach ($row as $key => $c) { $rows[$key] = $c; } // skip this continue; } echo $key, " ", $row, "\n"; }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`