try
for ($i =ord( 'A'); $i <= ord('Z'); $i++){
// code
}
bastien
From: MIGUEL ANTONIO GUIRAO AGUILAR <miguel.guirao@xxxxxxxxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject: Letters loop
Date: Wed, 25 May 2005 20:37:47 -0700
Hi!!
I wanna a do a for loop with letters, Is this possible?
for ($i = 'A'; $i <= 'Z'; $i++){
// code
}
--------------------------
MIGUEL GUIRAO AGUILERA
Logistica R8 - Telcel
Tel: (999) 960.7994
Cel: 9931-60000
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php