"Boget, Chris" <[EMAIL PROTECTED]> wrote:
> for( $i = "a"; $i <= "z"; $i++ ) {
> }
>
> Not entirely too sure why, but the above works.  And
> it's really cool that it does. :)
> However, it doesn't work as one would expect (aside

You may know this already and not have a need, but for the benefit of others
who may have read your post, you can loop through 'a' to 'z' using the chr()
function as follows:

<?php
for ( $i = 97; $i <= 122; $i++ )
{
echo chr( $i );
}
?>

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to