while php while循环语句使用范例
php while循环语句使用范例 [代码片段(17行)] 输出结果
<html> <body> <?php $i = 0; $num = 50; while( $i < 10) { $num--; $i++; } echo ("Loop stopped at i = $i and num = $num" ); ?> </body> </html>
输出结果
Loop stopped at i = 10 and num = 40
精彩图集
精彩文章