note 57571 deleted from control-structures.foreach by felipe
| From: | felipe@php.net | Date: | Tue, 29 Jan 2008 11:24:18 +0000 |
| Subject: | note 57571 deleted from control-structures.foreach by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-135521@lists.php.net to get a copy of this message | ||
Note Submitter: Flavio From Brazil
----
Like the FOR statement, you can also write:
<?php
foreach($i=1;$i<10;$i++):
print $i;
endforeach;
?>