Re: Re: Generate Alphabet

From: Date: Thu, 27 Dec 2001 09:06:08 +0000
Subject: Re: Re: Generate Alphabet
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78826@lists.php.net to get a copy of this message
WARNING This will only work with PHP 4.1.0 or later. Fred Jerry Verhoef <jverhoef@ugbi.nl> wrote in message news:1CDA86C6527BD311B91F0008C784121003D551D8@ugbiex1... > Sorry for the late reply but maybe you should take a look at the function > range. > > from the manual: > > foreach(range('a', 'z') as $letter) { > echo $letter; > } > > Jerry > -----Original Message----- > From: Daniel Harik [mailto:gatop@hot.ee] > Sent: Monday, December 24, 2001 7:01 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Re: Generate Alphabet > > > Hello Fred, > > Tuesday, December 25, 2001, 7:55:16 PM, you wrote: > > F> for ($Character = 65; $Character < 91; $Character++) > F> { > F> echo chr($Character); > F> } > > F> Fred > > F> Daniel Harik <gatop@hot.ee> wrote in message > F> news:1838168105.20011224193507@hot.ee... > >> Hello Guys, > >> > >> Just a stupid question how can i make php show from a-z with a for > >> loop, don't want to make 26 hard coded links > >> > >> Thank You very much > >> > >> -- > >> Best regards, > >> Daniel mailto:gatop@hot.ee > >> > > > > > Thank you > > -- > Best regards, > Daniel mailto:gatop@hot.ee > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > The information contained in this email is confidential and > may be legally privileged. It is intended solely for the > addressee. Access to this email by anyone else is > unauthorized. If you are not the intended recipient, any > form of disclosure, production, distribution or any action > taken or refrained from in reliance on it, is prohibited and > may be unlawful. Please notify the sender immediately. > > The content of the email is not legally binding unless > confirmed by letter bearing two authorized signatures.

« previous php.general (#78826) next »