怎么能这么写?<?php
?><form target="helloworld.php" method=get>Name:<input type= text name= "name"><br>
Favorite :
<input type= radio name ="fruit" value="apple"> apple
<input type= radio name ="fruit" value="orange">orange<br>
何を食べたい:
<input type= checkbox name="how[]" value="apple"> apple
<input type= checkbox name="how[]" value="orange"> orange
<input type= checkbox name="how[]" value="other"> other<br>
<input type= hidden name="stage" value = "results">
<input type= submit value ="you are a hero,check me!">
</form>
?><form target="helloworld.php" method=get>Name:<input type= text name= "name"><br>
Favorite :
<input type= radio name ="fruit" value="apple"> apple
<input type= radio name ="fruit" value="orange">orange<br>
何を食べたい:
<input type= checkbox name="how[]" value="apple"> apple
<input type= checkbox name="how[]" value="orange"> orange
<input type= checkbox name="how[]" value="other"> other<br>
<input type= hidden name="stage" value = "results">
<input type= submit value ="you are a hero,check me!">
</form>
<?php
?> 包含的必须要是php的脚本 html怎么可以?
<form target="helloworld.php" method=get>
修改成
<form action="helloworld.php" method=post>