note 18613 added to function.array
| From: | tobiasquinteiro at ig dot com dot br | Date: | Tue, 29 Jan 2002 17:25:59 +0000 |
| Subject: | note 18613 added to function.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25971@lists.php.net to get a copy of this message | ||
<?
// This is a small script that shows how to use an multiple array
for($x = 0;$x < 10;$x++){
for($y = 0;$y < 10;$y++){
$mat[$x][$y] = "$x,$y";
}
}
for($x = 0;$x < count($mat);$x++){
for($y = 0;$y < count($mat[$x]);$y++){
echo "mat[$x][$y]: " .
$mat[$x][$y] . " ";
}
echo "\n";
}
?>
--
http://www.php.net/manual/en/function.array.php
http://master.php.net/manage/user-notes.php?action=edit+18613
http://master.php.net/manage/user-notes.php?action=delete+18613
http://master.php.net/manage/user-notes.php?action=reject+18613