well...🙂 here's my leet code i wrote...cough(borrowed off some manual)...it uses foreach construct....
reset ($arr);
while (list($key, $value) = each ($arr)) {
echo "Key: $key; Value: $value<br>\n";
}
foreach ($arr as $key => $value) {
echo "Key: $key; Value: $value<br>\n";
}
could you explain this to me in non-programming lingo...thanky
i believe it resets the value of each array index? bla.....