On Thursday, April 18, 2002, at 05:38 PM, Jason Lam wrote:
> $arr1 = 1;
> $arr1 = 10;
> $arr2 = $arr1;
> $arr3 = each($arr2);
> print $arr3;
> Result is not 10. So, function "each" is not taking the whole $arr2
> My question is what function should I use to iterate array elements
> arrays in it)?
$arr3 = (list($arr3) = each($arr2));
I think. Untested.
Web Developer Temp
Media Lab, H.H. Brown
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php