note 35610 added to control-structures.for
| From: | scjurgen at despammed dot com | Date: | Mon, 08 Sep 2003 11:17:20 +0000 |
| Subject: | note 35610 added to control-structures.for | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55788@lists.php.net to get a copy of this message | ||
Looping from 'a' to 'z' included can be done (pearl compatible):
for ($c='a'; $c != 'aa'; $c++)
echo $c." ";
N.B.: $c<'aa' will not work
See manual http://www.php.net/language.operators.increment
for further information...
----
Manual Page -- http://www.php.net/manual/en/control-structures.for.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35610
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35610&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35610&report=yes