Hi everyone, first post here so nice to meet you all.
I'm after some help with HTML forms and PHP.
I have a simple username and password log in form. How is it best to verify that the user has actually entered information into the inputs?
I had the idea that i could have the page submit to itself, on submitting it would check the fields for the content, log the user in or not and then forward to the correct page. It would also be able to throw back error messages to the user easily this way. Only problem im not sure how, or even if you can, forward to another page in PHP code.
If you are interested in seeing what i am doing then go here . Bare in mind that it is nowhere done so easily breakable.
Thanks for any help.
ace