PDA

View Full Version : Alphabet Auto-Increment


resonance43
12-14-2002, 06:10 PM
Is there any function I could use to return the letters of the alphabet in sequential order, without typing them all out?

GSHelpBoy
12-14-2002, 07:21 PM
No.

Xenon
12-14-2002, 08:58 PM
i think a yes would be correct here:

for ($i=65;$i<91;$i++) {
$letter = chr($i);
echo $letter;

}

it would return ABC.....

resonance43
12-14-2002, 10:20 PM
thanks

Xenon
12-14-2002, 10:24 PM
you're welcome