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
>
> The following script produces a result that I can't get my head round:
>
> <?
>
> $allan[1][0] = 1;
> $allan[1][1] = "Alpha";
> $allan[2][0] = 2;
> $allan[2][1] = "Beta";
>
> While ($output = each($allan)){
> print $output[1];
> }
>
> ?>
>
>
>
> --
> 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: [EMAIL PROTECTED]
>
--
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: [EMAIL PROTECTED]