a simple login from - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

a simple login from

sloppyjoesloppyjoe Posts: 2Member
Hello. Im wanting to create a very simple login form. using HTML PHP and SQL (i use putty to input my SQL).

Basically all pages on my website apart from home page, login page, registration page can only be viewed if a user is logged on.

I want to create a very simple login form and registration from. So on the login form the user enters there username and password, the php checks the sql table 'users' (which contains ID (automatically generated) name, surname, username, password, year of birth, email address) to see if the username exists and matches the password.

On the registration page the user enters name, surname, year of birth, desired username password (twice which must match) desired password and email address. This information updates the users table and adds the information to it. I'm stumped on how to do this. any help is appreciated.
Sign In or Register to comment.