[snip]
'Z'+1 is defined to be 'AA' (it says that in the manual, too!), so your
loop has to be:

  for($letter = 'A'; $letter <= 'AA'; $letter++){
        echo $letter . "\n";
  }
[/snip]

Run this, you'll be surprised at what you get.

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

Reply via email to