note 35610 deleted from control-structures.for by nlopess
| From: | nlopess@php.net | Date: | Sat, 27 Dec 2003 11:54:43 +0000 |
| Subject: | note 35610 deleted from control-structures.for by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62549@lists.php.net to get a copy of this message | ||
Note Submitter: scjurgen@despammed.com
----
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...