开发者

How do I navigate to another page when PHP script is done?

I have a simple POST script that I need to return to the page that was do开发者_如何学编程ing the Posting.

Is there any way to do it like this?

if($done)
    {
        //go to page
    }


if ($done)
{
    header("Location: /url/to/the/other/page");
    exit;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜