<?php $i = 1; while($i < 10){ if($i == 7){ break;//執行到這邊結束while迴圈 } echo $i++;// ... 但如果有多重迴圈的話,只能讓最靠近 continue 的迴圈跳過一次.
確定! 回上一頁