note 108589 added to language.operators.increment
| From: | user at NOSPAM dot example dot com | Date: | Wed, 09 May 2012 04:17:54 +0000 |
| Subject: | note 108589 added to language.operators.increment | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-187537@lists.php.net to get a copy of this message | ||
FYI, the manual's example I refer to is "Using arithemetic to increment character
variables."
So, to iterate through the alphabet once:
<?php
$i = 'A';
for ($n=0; $n<26; $n++)
{
echo '<a href="Dictionary.php?alph=' . $i . '">' . $i .
'</a>';
{
?>
----
Server IP: 69.147.83.197
Probable Submitter: 71.83.59.131
----
Manual Page -- http://www.php.net/manual/en/language.operators.increment.php
Edit -- https://master.php.net/note/edit/108589
Del: integrated -- https://master.php.net/note/delete/108589/integrated
Del: useless -- https://master.php.net/note/delete/108589/useless
Del: bad code -- https://master.php.net/note/delete/108589/bad+code
Del: spam -- https://master.php.net/note/delete/108589/spam
Del: non-english -- https://master.php.net/note/delete/108589/non-english
Del: in docs -- https://master.php.net/note/delete/108589/in+docs
Del: other reasons-- https://master.php.net/note/delete/108589
Reject -- https://master.php.net/note/reject/108589
Search -- https://master.php.net/manage/user-notes.php