PHP中页面跳转,使用meta标签和JS方法

02. November 2016 PHP 0

<?php

echo “<meta http-equiv=\”refresh\” content=\”0;url=user.php\”/>”;设置定时跳转刷新

echo “<script>history.go(-1);</script>”;返回前一页

echo “<script>window.location.href=\”answer.php\”;</script>”;

?>


Leave a Reply

Your email address will not be published. Required fields are marked *