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
On click BUTTON action
if(isset($_POST['save_btn'])) { //write some of your code here, if necessary echo' '; }