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;
|

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to