print a-z
I need to create a link from a to z. I come up with a simple way to do it.
/* a-z */
$str = '';
for($i = 65; $i < 91; ++$i)
echo ''.chr($i).'';
another way
$a = range('a', 'z');
foreach($a as $chr) echo $chr;
I need to create a link from a to z. I come up with a simple way to do it.
/* a-z */
$str = '';
for($i = 65; $i < 91; ++$i)
echo ''.chr($i).'';
another way
$a = range('a', 'z');
foreach($a as $chr) echo $chr;