我有一个简单的 POST 脚本,我需要返回到执行发布的页面。
有什么办法可以这样吗?
if($done)
{
//go to page
}
最佳答案
if ($done)
{
header("Location: /url/to/the/other/page");
exit;
}
关于php - PHP 脚本完成后如何导航到另一个页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4643697/