PHP Array Loop - need help please!!!?

cjay_cjay

New member
ok my array starts something like this

$array1 = array();
$array[0][0] = "A";
$array[0][1] = "B";
$array[0][2] = "C";
$array[0][3] = "D";
$array[0][4] = "E";

$array[1][0] = "F";
this continues all the way down to

$array[4][4] = "Y"

now how do i put this in a loop?
kspeaks, i thought of that too, but that would just print [0][0], [1][1], [2][2], [3][3], and [4][4]
 
Back
Top