note 19770 added to function.array
| From: | mariovalacca at yahoo dot it | Date: | Sun, 10 Mar 2002 19:19:57 +0000 |
| Subject: | note 19770 added to function.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27583@lists.php.net to get a copy of this message | ||
With this code you can get the list of the values of an array:
$array = array(one, two, three);
for ($i=0; $i<sizeof($array); $i++){
echo "$array[$i]<br>";
}
Return:
one
two
three
--
http://www.php.net/manual/en/function.array.php
http://master.php.net/manage/user-notes.php?action=edit+19770
http://master.php.net/manage/user-notes.php?action=delete+19770
http://master.php.net/manage/user-notes.php?action=reject+19770