note 14359 added to function.chr.php
| From: | qaswix at hotmail dot com | Date: | Fri, 27 Jul 2001 16:33:11 +0000 |
| Subject: | note 14359 added to function.chr.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15945@lists.php.net to get a copy of this message | ||
A quicker way would be be
for ($i = 65; $i < 91; $i++) {
print (chr($i));
}
if you also want lowercase:
for ($i = 97; $i < 123; $i++) {
print (chr($i));
}
http://www.php.net/manual/en/function.chr.php