PHP for 循环

<!DOCTYPE html>
<html>
<body>

<?php 
for ($x=0; $x<=10; $x++) {
   echo "数字是:$x <br>";
}
?>   

</body>
</html>

 

posted @ 2016-05-24 14:49  fleam  阅读(131)  评论(0编辑  收藏  举报