Google Ads

PHP – OOP CRUD Operation v1 PHP Script


PHP – OOP CRUD Operation v1 PHP Script

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

 

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

  1. CREATE TABLE `member` (
  2. `memberid` INT(11) NOT NULL AUTO_INCREMENT,
  3. `firstname` VARCHAR(50) NOT NULL,
  4. `lastname` VARCHAR(50) NOT NULL,
  5. PRIMARY KEY(`memberid`)
  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 *