Hello everyone,

I need Need Help..

<?php

/* foreach example 4: multi-dimensional arrays */


$a[0][0] = "a";
$a[0][1] = "b";
$a[1][0] = "y";
$a[1][1] = "z";

foreach($a as $v1) {
    foreach ($v1 as $v2) {
        print "$v2\n";
    }
}

?>

This is an example from the PHP document and when I try this
example this does not work. Can somedoby give me some reason why?
and if you know how to imlement multi dimentional array please tell me also.

Thanks
Archer

Reply via email to