//第三种写法
echo "<script>locatioin.reload('test.php');</script>";
exit;
你返回后,带?参数就可以了
echo "<script>locatioin.href='test.php?';</script>";
exit;

解决方案 »

  1.   

    在后面加个问号还是不行,location.reload('test.php')怎么写,语法出错
      

  2.   

    我是这么解决的,用下面的语句让系统不缓存test.php!header('Cache-Control'.': '.'no-cache');//Forces caches to obtain a new copy of the page from the origin server 
    header('Cache-Control'.': '.'no-store');//Directs caches not to store the page under any circumstance 
    //在PHP里报错header('Expires'.': '.0);//Causes the proxy cache to see the page as 'stale' 
    header('Pragma'.': '.'no-cache');//HTTP 1.0 backward compatibility 
      

  3.   

    echo "<script>locatioin.reload('test.php');</script>";
    或者用
    echo "<meta http-equiv='refresh' content='1;url=test.php'>";
    看试试行不行?