Guide to PHP loops. ... The for loop is used to repeat a task a set number of times. Syntax: ... <?php for($a = 1; $a < 11; $a++){ echo $a . " "; } ?>.
確定! 回上一頁