|
Re: Array Question: msg#02350php.general
On Thursday, April 18, 2002, at 04:38 PM, Jason Lam wrote: $arr2 is a 2d array. What are you expecting? Check out the documentation for each() at http://www.php.net/manual/en/function.each.php At this point $arr3 should look like this (I think, but try print_r($arr3) to be sure): { 0 => 0, 1 => array ( 0 => array ( 0 => 1, 1 => 10 ) ), key => 0, value => array ( 0 => array ( 0 => 1, 1 => 10 ) ) }
How about foreach()? -Steve Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Newline features and differences between php3 and php4, Jason Wong |
|---|---|
| Next by Date: | Reading Session File from /tmp directory, Devin Atencio |
| Previous by Thread: | Array Question, Jason Lam |
| Next by Thread: | Re: Array Question, Erik Price |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |