Re: [PHP] Iterating Multidimensional Arrays

2001-01-11 Thread Richard Lynch
What output did you get? What did you expect? - Original Message - From: "Cybercandy Ltd" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, January 11, 2001 6:54 AM Subject: [PHP] Iterating Multidimensional Arrays > I'm a bit stuck on this issue &

Re: [PHP] iterating multidimensional arrays

2001-01-11 Thread Abe Asghar
Hey there, try this... \n"; while (list ( , $val) = each ($allan[$key1])) { echo " - $val\n"; } } ?> Abe - Original Message - From: "Cybercandy Ltd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 11, 2001 12:57 PM S

[PHP] iterating multidimensional arrays

2001-01-11 Thread Cybercandy Ltd
sorry previous message was incomplete: I'm trying to get my head around multidimensional arrays and iterating using each(). I don't get why this script: prints ArrayArray rather than AlphaBeta can someone help me clear the fog? Allan -- PHP General Mailing List (http://www.php.net/)

[PHP] Iterating Multidimensional Arrays

2001-01-11 Thread Cybercandy Ltd
I'm a bit stuck on this issue The following script produces a result that I can't get my head round: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EM