Re: Looping from A to Z

From: Date: Mon, 20 Feb 2006 15:45:10 +0000
Subject: Re: Looping from A to Z
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-230736@lists.php.net to get a copy of this message
Richard K Miller wrote:
Good afternoon. I'm having trouble getting PHP to loop from A through Z. Here is what I tried, coming from a C background: for ($l = "A"; $l <= "Z"; $l++)
     echo $l;
I use this: for($i='a'; $i != 'aa'; $i++){ print $i; |

« previous php.general (#230736) next »