![]() |
溫瑞烘老師的教學歷程檔案(Teaching ePortfolio) - 資管三甲乙資料庫系統教學資源區 - form1-9.php(form表單 type=checkbox之三) |
| form1-9.php(form表單 type=checkbox之三)<?php$command=$_POST["command"]; if ($command==null) { echo("<html> <body> <center> <form method=post action=$SELF_PHP> 選項: <p> <input type=checkbox name=choice[] value=1>choice 1 <p> <input type=checkbox name=choice[] value=2>choice 2 <p> <input type=checkbox name=choice[] value=3>choice 3 <p> <input type=checkbox name=choice[] value=4>choice 4 <p> <input type=checkbox name=choice[] value=5>choice 5 <p> <input type=submit name=command value=送出> <input type=reset name=command value=清除> </form> </center> </body> </html>"); } if ($command=="送出") { $choice=$_POST["choice"]; foreach ($choice as $number) $result=$result.$number; echo("<html> <body> <center> 選項:$result <p> </center> </body> </html>"); } ?>
|
|
中華科技大學數位化學習歷程 - 意見反應 | ![]() |