亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Aの漢
Follow

After following, you can keep track of his dynamic information in a timely manner

Course notes
  • Courses in the relevant section:PHP flow control if statement

    <!DOCTYPE html> <html> <head> 判斷是否為閏年還是平年 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <form method="GET"> <input type="text" name="num" > <input type="submit" value="判斷" /> </form> <?php $s=$_GET['num']; if(!is_numeric($s)){ echo "請輸入數(shù)值類型"; } if(($s%400==0)||(($s%4==0)&&($s%100<>0))){ echo "閏年"; }else{ echo "平年"; } ?> </body> </html>

    2017-09-064個贊

  • Courses in the relevant section:while loop

    課堂作業(yè)參考哦: <?php $l=0; echo '<table width="800" border="1">'; while ($l<10) { if ($l%2==0) { echo '<tr bgcolor="green">'; }else{ echo '<tr>'; } $h=0; while ($h < 10) { $t=$l*10+$h; echo '<td>'."$t".'</td>'; $h++; } $l++; echo '</tr>'; } echo '</table>'; ?>

    2017-09-100個贊