Google Ads

PHP – OOP Login and Sign Up using AJAX/jQuery v1 PHP Script


PHP – OOP Login and Sign Up using AJAX/jQuery v1 PHP Script

 

Getting Started

Please take note that CSS and jQuery used in this tutorial are hosted so you need internet connection for them to work.

Creating our Database

First step is to create our database.
1. Open phpMyAdmin.
2. Click databases, create a database and name it as login_oop.
3. After creating a database, click the SQL and paste the below codes. See image below for detailed instruction.

  1. CREATE TABLE `user` (
  2. `userid` INT(11) NOT NULL AUTO_INCREMENT,
  3. `username` VARCHAR(50) NOT NULL,
  4. `password` VARCHAR(50) NOT NULL,
  5. PRIMARY KEY(`userid`)
  6. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

 

 

 

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *