while php中while语句使用范例
php中while语句使用范例 [代码片段(9行)]
<?php
$a=2;
echo("<p>Even Numbers from 2 to 30<p>");
while ($a <=30)
{
echo("$a <br>");
$a=$a+2;
}
?>
精彩图集
精彩文章
<?php
$a=2;
echo("<p>Even Numbers from 2 to 30<p>");
while ($a <=30)
{
echo("$a <br>");
$a=$a+2;
}
?>
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229