For 迴圈的1到10
1
2
3
4
5
6
7
8
9
10
<?php for ( $i = 1; $i <= 10; $i++ ) { echo $i ; } ?>