On Thursday 07 March 2002 18:42, Edward van Bilderbeek - Bean IT wrote:
> something like:
>
> for ($i=ord('A'); $i<ord('A')+26; $i++) {
>     $str .= chr($i);
> }
>
> print $str;

> ----- Original Message -----
> From: "Jeroen Timmers" <[EMAIL PROTECTED]>
> To: "[General]" <[EMAIL PROTECTED]>
> Sent: Thursday, March 07, 2002 11:37 AM
> Subject: [PHP] Alphabet
>
>
> Is there a simple function to generate
> the alphabet with php
>

Don't know if it can get any simpler than:

$alphabet = "abc..";


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
The human race never solves any of its problems.  It merely outlives them.
                -- David Gerrold
*/

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

Reply via email to