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 : Shouldn't it be $i<=ord('Z') ? : : David Apthorpe : : -----Original Message----- : From: Nico Vrouwe [mailto:[EMAIL PROTECTED]] : Sent: 07 March 2002 13:30 : To: [EMAIL PROTECTED] : Subject: Re: [PHP] Alphabet : : $i<ord('Z') seems easier to me than $i<ord('A')+26 :) : : /Nico : : : "Edward Van Bilderbeek - Bean It" <[EMAIL PROTECTED]> wrote in message : 002601c1c5c4$d008e3f0$2d48c23e@VANBILDE01">news:002601c1c5c4$d008e3f0$2d48c23e@VANBILDE01... : > something like: : > : > for ($i=ord('A'); $i<ord('A')+26; $i++) { : > $str .= chr($i); : > } : > : > print $str; : > : > Greets, : > : > Edward : > : > : > ----- 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 : > : > Thx : > : > Jeroen : > : > : > : : : : -- : PHP General Mailing List (http://www.php.net/) : To unsubscribe, visit: http://www.php.net/unsub.php : : --- : Incoming mail is certified Virus Free. : Checked by AVG anti-virus system (http://www.grisoft.com). : Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/2002 : : : --- : Outgoing mail is certified Virus Free. : Checked by AVG anti-virus system (http://www.grisoft.com). : Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/2002 : -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php