I need some help to solve this problem. I currently have a website with a database attached with myphpadmin/sql. I have a register site that redirects users to this url when the re
Solution 1:
On the top of login.php you
include'register.php';
The consequence is, that register.php gets executed, it sees the missing empty($name) || empty($phone)... and redirects to header("Location: ../register.php?signup=empty");
The simple solution: remove that include 'register.php';
Share
Post a Comment
for "Php Redirects To Wrong Url When Error Hanling (login)"
Post a Comment for "Php Redirects To Wrong Url When Error Hanling (login)"