note 20723 added to ref.array
| From: | bfair at logix3N0SPAM dot com | Date: | Sun, 14 Apr 2002 07:34:30 +0000 |
| Subject: | note 20723 added to ref.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29256@lists.php.net to get a copy of this message | ||
Looping through an array, and printing each item:
for ($i = 0; $i < count($array_name); $i++) { echo("$i - $arrayname[$i]"); }
--
http://www.php.net/manual/en/ref.array.php
http://master.php.net/manage/user-notes.php?action=edit+20723
http://master.php.net/manage/user-notes.php?action=delete+20723
http://master.php.net/manage/user-notes.php?action=reject+20723