Building a complete registration and login system

This recipe shows you how to create a simple register and login system from scratch using jQuery Mobile and PHP with a MySQL database. This recipe will form the base for a complete web application in the next recipe of this chapter.

Getting ready

You should already have a PHP and MySQL server available that will be utilized to complete this recipe. Within the web root of your web server, create index2.html and script2.js, which will hold the main functionality of the application.

How to do it…

To create a complete registration and login system, ensure you follow each of the following instructions carefully:

  1. Add the following HTML code to index2.html to create a simple jQuery Mobile website and home ...

Get jQuery 2.0 Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.