Re: print a to z
| From: | Chris | Date: | Fri, 16 Jan 2009 04:38:18 +0000 |
| Subject: | Re: print a to z | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286475@lists.php.net to get a copy of this message | ||
paragasu wrote:
i have this cute little problem. i want to print a to z for site navigation my first attempt work fine for($i = '65'; $i < '91'; ++$i) echo chr($i); but someone point me a more interesting solutions$letters = range('a', 'z'); foreach ($letters as $letter) { echo $letter; } -- Postgresql & php tutorials http://www.designmagick.com/