note 19749 deleted from control-structures.for by didou
| From: | didou@php.net | Date: | Sun, 26 Oct 2003 13:20:56 +0000 |
| Subject: | note 19749 deleted from control-structures.for by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59311@lists.php.net to get a copy of this message | ||
Note Submitter:
----
to print all the contents of an array use:
$foo = array ("bob", "fred", "jussi", "jouni",
"egon", "marliese");
for ($i=0; $i < 7; $i++) {
print "$i: $foo[$i] ";
}