Mega Code Archive

 
Categories / Php / Code Snippets
 

For loop syntax in PHP

<?php for ($i=0; $i<=5; $i++) { echo "$i<br>"; } ?>