Monday, 27 July 2009

To get the alphabets in Loop function

for ($i = 65; $i <= 90; $i++)
{

echo $drive = chr($i);

}

OUTPUT:

ABCDEFGHIJKLMNOPQRSTUVWXYZ

No comments:

Post a Comment