采用submit提交数据到PHP,在谷歌浏览器中第一次点击提交成功,不改变内容的情况下,再点击就无响应了,请问该怎么改???
源码如下:
test.html
<html>
<body>
<form action="test.php" method="post" target="_blank">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
</body>
</html>
test.php
<html>
<body>
Welcome <?php echo $_POST["name"]; ?>.<br />
You are <?php echo $_POST["age"]; ?> years old.
</body>
</html>