I needed to make a login thing for a project I'm doing and I found you Admin Section tut while searching for appropriate stuff...anyway, I tried it, made the .php pages, the database and everything but I have two problems.
CODE
else {
header('Location: http://www.blah.com/login.php?error=1');
exit(); }
?>
if the login information is incorrect, the browser takes me to a blank page with that URL in the address bar. shouldn't it display the error message we set in the page with the login form?
The other, much bigger problem is because of my lack of php/mysql knowledge, I think. What are the passwords that let me log in, and how can I change/set them? Are they set when we created the table 'login', or do we set them ourselves somehow, later?
regards and TIA,
Waleed Zuberi. the learning PHPician