Unit 10 - Website Design & Development: Lesson (12) - PHP Part Ii
Unit 10 - Website Design & Development: Lesson (12) - PHP Part Ii
1
PHP Form Handling
The PHP superglobals $_GET and $_POST are used to collect form-data.
2
PHP Form Handling
3
PHP Form Handling
4
GET vs. POST
5
PHP Connect to MySQL
6
Insert Data Into MySQL Using MySQLi
After a database and a table have been created, we can start adding data in them.
The INSERT INTO statement is used to add new records to a MySQL table:
INSERT INTO table_name (column1, column2, column3,...)
VALUES (value1, value2, value3,...)
7
Insert Data Into MySQL Using MySQLi
8
Update Data Using MySQLi
9
Update Data Using MySQLi
10
Delete Data Using MySQLi
11
Delete Data Using MySQLi
12
Search Data Using MySQLi
The SELECT statement is used to search data from one or more tables:
SELECT column_name(s) FROM table_name
or we can use the * character to select ALL columns from a table:
SELECT * FROM table_name
13
Search Data Using MySQLi
14
The End..!!
15