ppp.php<?php
if(isset($_POST["id"])){
。。
。
。。
echo "<script>location='ppp.php';</script>";
}
?>
<form action="ppp.php" method="post" name="f">
ID:<input name="id" type="text" /><br />
<input type="submit" name="submit" value="提交" /><br />
</form>提交POST 或者get以后 刷新IE $_POST["id"] 依然有值 用unset也不行 只能用跳转页面吗?
if(isset($_POST["id"])){
。。
。
。。
echo "<script>location='ppp.php';</script>";
}
?>
<form action="ppp.php" method="post" name="f">
ID:<input name="id" type="text" /><br />
<input type="submit" name="submit" value="提交" /><br />
</form>提交POST 或者get以后 刷新IE $_POST["id"] 依然有值 用unset也不行 只能用跳转页面吗?
不知道你为什么会有这样的需求?