Hehehe,
I searched around on PHP.net, and found this tidbit of information. It
sounds to me that list() is written to only accept the first two elements
from the each(). Please correct me if I am misinformed :-)
Cheers,
Jason
[EMAIL PROTECTED]
16-Feb-2000 03:41
Ok, for you folks who are lear
Greets,
I have a quick question:
$Array = array(
"val1" => "Value 1",
"val2" => "Value 2",
"val3" => "Value 3"
);
while(list($a,$b,$c,$d) = each($Array)) {
print "$a = $c and $b = $d ";
}
Doesn't the "each" construct return a 4 element array, where element 1's
index is 0, element 2's inde
2 matches
Mail list logo