PHP+MySQL : CRUD [Create Read Update Delete] Part 1


In this tutorial, we will create a simple PHP + MySQL application, namely the Buku_telp application. It already contains some basic scripts for PHP + MySQL such as MySQL database connection with PHP and CRUD (Create Read Update Delete) scripts.

I divided this tutorial into several parts:
1. Create a database
2. Script Create, input data
3. Script Read, read data
4. Script Update, update data
5. Script Delete, delete data

Preparing the Database
Database name : exercise_php
Table : book_telp

Go to http://localhost/phpmyadmin
Create training_php database

Open training_php database
Create a phone_book table with 5 columns
phpmyadmin

phpmyadmin

phpmyadmin

The steps for making the training_php database and the book_telp table above can also use the query below:

good luck

Support this blog by donating via Trakteer.id, PayPal, or Jenius Pay $musaamine.

Related Posts:

  • PHP MySQL connection on OpenShift Red Hat CloudPHP MySQL connection on OpenShift Red Hat Cloud
  • [PHP]  CRUD Using PDO [Bagian 6][PHP] CRUD Using PDO [Bagian 6]
  • [PHP]  CRUD Using PDO [Bagian 5][PHP] CRUD Using PDO [Bagian 5]
  • [PHP]  CRUD Using PDO [Bagian 4][PHP] CRUD Using PDO [Bagian 4]
  • [PHP]  CRUD Using PDO [Bagian 3][PHP] CRUD Using PDO [Bagian 3]

.



Source link

Leave a Reply

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