hello there! i am new to php ! i was trying to create a login form. in line 202
<form class="login-form" method="POST" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>">
so i can make the verification process on the same page and send the errors to the users when there are some
.
if there is no error (i.e all data correct) process data and make connection to database(mysql), put the data(username, password,
email) in table, then at least redirect user to the home page with (header('Location: homepage.php'). but i got an error while loading
page. I know why the problem. I just want someone to give me an advice on how to solve it. please help me !!!!