Assignment #7: User registration

Description: A user registration page is created for the user to create his account on this web-site.


1) /includes/createSelect.php : To show the locations in drop-down list.

2) registerSubmit.php: It receives form data from login.php to verify auth of user. User's DB is checked to verify the user ID.

3) register.php: It is the main page for the user to registrate. A form's field is extracted from createSelect.php.

4) feedback.php.php: For successful or unsuccessful login, users are forwarded to this page and error messages are generated for unsuccessful registration.

Learnt: Putting all form-content inside a include file for tidiness. Using session again to check the existence of the user. Simple javascript to check to form is well filled before sending it back to the server.