第一种方法:在PHP中编写或者用在函数调用后的位置
header('location: '.$_SERVER['HTTP_REFERER']);
第二种方法:在JS中编写
location.reload() ;
转载-可以点击跳转到原文章