怎么提示了 Parse error: syntax error, unexpected 。。我在学习表单的时候,发现错误了。这是什么原因,谢谢。
<?php <form name="form1" method="post" action="index_ok.php">
<tr>
<td width="61" height="33"> </td>
<td width="81" align="center"><span class="style1">身份证号</span>:</td>
<td width="132"><input name="IDcard" type="text" id="IDcard" size="18"></td>
<td width="63" align="center"><input type="submit" name="Submit" value="检测"></td>
<td width="55"> </td>
</tr>
</form>?>
中间的代码要符合PHP语法规范
<tr>
<td width="61" height="33"> </td>
<td width="81" align="center"><span class="style1">身份证号</span>:</td>
<td width="132"><input name="IDcard" type="text" id="IDcard" size="18"></td>
<td width="63" align="center"><input type="submit" name="Submit" value="检测"></td>
<td width="55"> </td>
</tr>
</form>
html
?>
用我告诉你的方法 或者用echo .当然不行!html是html php是php