Array mapping?
I have
$A= array("A1"=>array("x"=>1,"b"=>2,"d"=>3,"s"=>8),
"A2"=>array("a"=>4,"b"=>3,"c"=>2,"d"=>1)
);
OUTPUT(HTML):
| a | b | c | d | x | s
------------------------------
A1 | 0 | 2 | 0 | 3 | 1 | 8
A2 | 4 | 3 | 2 | 1 | 0 | 0
Anyone know how to do this ?
Retrieve the keys
Then create the output
or as html-table
You may sort the keys before and format the output. Its just the short form.