Iterating Multidimensional Arrays

From: Date: Thu, 11 Jan 2001 12:52:54 +0000
Subject: Iterating Multidimensional Arrays
Groups: php.general 
Request: Send a blank email to php-general+get-33972@lists.php.net to get a copy of this message
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]; } ?>

« previous php.general (#33972) next »