HTML提交数据到PHP,没反应,急,在线等!!!
以下是我的代码,输入数值,然后点提交,按理说应该显示我输入的东西,但是毫无反应,不知道是因为什么!哪位高手帮帮忙解释以下,我看了好多书和案例,试了各种办法,我觉得我没错啊...
以下是我的代码,输入数值,然后点提交,按理说应该显示我输入的东西,但是毫无反应,不知道是因为什么!哪位高手帮帮忙解释以下,我看了好多书和案例,试了各种办法,我觉得我没错啊,谢谢大家了!
<from name = "form" method = "post" action = "">
<table>
<tr>
<input name = "time" id = "time" type = "text" size = "12" ></td>
<input type = "submit" name = "submit" id = "submit" value = "OK"></td>
</tr>
</table>
</from>
<?php
$timezone = $_POST['time'];
echo $timezone;
?> 展开
<from name = "form" method = "post" action = "">
<table>
<tr>
<input name = "time" id = "time" type = "text" size = "12" ></td>
<input type = "submit" name = "submit" id = "submit" value = "OK"></td>
</tr>
</table>
</from>
<?php
$timezone = $_POST['time'];
echo $timezone;
?> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询