Re: Alphabet
| From: | Jason Wong | Date: | Thu, 07 Mar 2002 10:46:08 +0000 |
| Subject: | Re: Alphabet | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87600@lists.php.net to get a copy of this message | ||
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" <maillist@start4me.nl>
> To: "[General]" <php-general@lists.php.net>
> 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
*/