DBMS is provides machanism for storing and organizing data and also allow user to access and store data without addressing internal representation of database.
Relational database
-- consists of data corresponding to one another
-- most popular database system in use
-- use SQL to create queries
SQL Data Manipulation Language (DML)
- SELECT
- UPDATE
- DELETE
- INSERT INTO
SQL Data Definition Language (DML)
- CREATE TABLE
- ALTER TABLE
- DROP TABLE
- CREATE INDEX
- DROP INDEX
Introduction to Database Interface (DBI)
- database part of distributed application
- driver - helps program access databases
- interface
- database interface
This link can help you more undestanding about (selected data, insert data, delete selected data, update selected data)
Advantages of using database to store web data:
- faster access
- better concurrent access
- easier changes to data and script
- increased security
There are four step to access MySQL via PHP:
- STEP 1: Make a connection to the MySQL database server
- STEP 2: Select the database within MySQL that you want to work with
- STEP 3: Issue an SQL statement / create the query
- STEP 4: Iterate through the SQL Result Set

























