PHP Tutorial - insert data into MySQL using MySQLi(PHP For Beginners)

preview_player
Показать описание
In this tutorial you will learn how to insert data into MySQL using
MySQLi in php.

1. To insert record in MySQl database, at first you need to create a database and then create table.

2. To add new records in a MySQL table the INSERT INTO statement is used.

INSERT INTO table_name (column1, column2)VALUES (value1, value2);

3. If a column like "id" is set to AUTO_INCREMENT then no need to specify it in the SQl query.

You can follow us on facebook:

Follow us on google+:

Follow us on Twitter:

Follow us on pinterest:
Рекомендации по теме
Комментарии
Автор

I thought tutorial would be about inserting data into mySQL by making a .php page with fields like  Name: textarea, Email: textarea, etc, using HTML+PHP

Arttyor
Автор

This song made me not want to watch the video. I just couldnt anymore

thatomorare