sexta-feira, 9 de agosto de 2019

Escola EDTI | Especialistas em Lean Six-Sigma

Nikon Coolpix: Performance, Style, Life and All Weather Series

Blog do Sistema de Bibliotecas da UCS

Audio Impacto – Locução Profissional

Agência Jovem de Notícias

Escape From Tarkov Wiki - Новости, видео, фото, статьи

How To Insert Data Into Database | Tutorial 3


Welcome to my another tutorial of PHP and MYSQL. In the previous tutorial I've briefly discussed How to make a PHP file and How to save the PHP file in the root directory of the server. How to run PHP script over the Web Browser etc.

Now in this tutorial I've discussed about inserting data into database by getting the values from user with the help of HTML form. One thing should be remembered that getting a values from users by HTML form is the only way to get values from users in PHP.

How To Insert Data into Database

Step 1:

Open your text editor and create HTML form. 

Step 2:

Make a database connection in PHP.

Step 3:

Write an INSERT query for the sake of insertion data into database like INSERT INTO table_Name(table_Attribute1, table_Attribute2....) VALUES('1', 'Alex'...); etc. Now watch the video to make a better understanding the concept of insertion.