I'd like to dynamically create the following, but can't work it out.
Code: Select all
echo $toXML[0][0]." = ".$toXML[0][1]."<br />";
echo $toXML[1][0]." = ".$toXML[1][1]."<br />";Code: Select all
foreach ($toXML as $outer_key => $single_array) {
foreach ($single_array as $inner_key => $value) {
echo "<br>" . $value;
}
}ta, Will.