Posted By

fackz on 01/30/09


Tagged

php loop alphabet


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

umang_nine
fackz


Php Alphabet Loop


 / Published in: PHP
 

  1. <?php foreach(range('A','Z') as $i) echo $i; ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: MMDeveloper on February 4, 2009

you can also.. . . echo implode(" ", range("A", "Z"));

You need to login to post a comment.