How to redirect to another page using PHP

前端 未结 12 1383
粉色の甜心
粉色の甜心 2020-12-02 16:50

I am building a website which includes a login page. I need to redirect the user to their profile page once they\'ve logged in successfully, but I don\'t know how to do that

12条回答
  •  一向
    一向 (楼主)
    2020-12-02 17:33

    Just like you used echo to print a webpage. You could use also do the same with redirecting.

    print("")
    

提交回复
热议问题