Code Comments
Programming Forum and web based access to our favorite programming groups.MIGUEL ANTONIO GUIRAO AGUILAR wrote:
> Hi!!
>
> I wanna a do a for loop with letters, Is this possible?
>
> for ($i = 'A'; $i <= 'Z'; $i++){
> // code
> }
try it.
php -r '
for ($i = "a"; $i < "z"; $i++){ echo $i,"."; } echo "z";'
>
> --------------------------
> MIGUEL GUIRAO AGUILERA
> Logistica R8 - Telcel
> Tel: (999) 960.7994
> Cel: 9931-60000
>
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.