Re: [PHP] Alphabet

2002-03-10 Thread Angel Fenoy
Robert V. Zwink wrote: > What could be simpler than: > > $range = implode(" ", range('A', 'Z')); > echo $range; > > result: > A B C D . . . The most short expression I found: $r=join('',range(@A,@Z)); echo $r; result: ABCDEFGHIJKLMNOPQRSTUVWXYZ > Am I missing something here? All this loop,

RE: [PHP] Alphabet

2002-03-08 Thread Robert V. Zwink
om: Robert V. Zwink [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:59 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Alphabet Or how about: foreach(range('A', 'Z') AS $val){ echo $val; } range('A', 'Z') will produce an array of character A

Re: [PHP] Alphabet

2002-03-07 Thread Angel Fenoy
Nico Vrouwe wrote: > $i now $a contains 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Alphabet

2002-03-07 Thread Robert V. Zwink
om: Nico Vrouwe [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 8:42 AM To: David Apthorpe; [EMAIL PROTECTED] Subject: Re: [PHP] Alphabet Very true. oops :) /Nico - Original Message - From: "David Apthorpe" <[EMAIL PROTECTED]> To: "'Nico Vrouwe&#

Re: [PHP] Alphabet

2002-03-07 Thread Nico Vrouwe
Very true. oops :) /Nico - Original Message - From: "David Apthorpe" <[EMAIL PROTECTED]> To: "'Nico Vrouwe'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 2:34 PM Subject: RE: [PHP] Alphabet : Sh

Re: [PHP] Alphabet

2002-03-07 Thread Nico Vrouwe
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 > &g

Re: [PHP] Alphabet

2002-03-07 Thread Jason Wong
;[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 Wo

Re: [PHP] Alphabet

2002-03-07 Thread Edward van Bilderbeek - Bean IT
something like: for ($i=ord('A'); $i 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 Thx Jeroen -- PHP General Mailing List (http://www.php.net/) T

[PHP] Alphabet

2002-03-07 Thread Jeroen Timmers
Is there a simple function to generate the alphabet with php Thx Jeroen