How can I construct this kind of array? Also how do I access the data easily?$a = "fruits"; $b = "birds"; $c = "p"; $d = "g"; $e = "c"; @array1[$a][$c]="peach"; @array1[$a][$d]="grapes"; @array1[$b][$c]="parrot"; @array1[$b][$e]="crow";
20040728 Edit by ysth: remove <BR>'s from within code tags
In reply to multi dimension array by shilpam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |