返回上一页不刷新:
echo"<script>alert('已从错题本中删除!');history.go(-1);</script>";
返回上一页刷新:
echo "<script>alert('错题全部清除完毕!');location.href='" . $_SERVER["HTTP_REFERER"] . "';</script>";
返回上一页不刷新:
echo"<script>alert('已从错题本中删除!');history.go(-1);</script>";
返回上一页刷新:
echo "<script>alert('错题全部清除完毕!');location.href='" . $_SERVER["HTTP_REFERER"] . "';</script>";