I have this array:
Array
(
[page] => Array
(
[0] => add
[1] => edit
[2] => delete
[3]
This assumes that there are more pages than categories, and that they are held in $Array['pages'] and $Array['categories'] variables:
print 'Page Category ';
for ($i=0; $i< sizeof($Array['pages']; $i++)
{
print '';
print $Array['pages'][$i];
print ' ';
if ($i < sizeof($Array['categories']))
print $Array['categories'][$i];
print ' ';
}
print '
';
There are more elegant ways, but this should work.