Building Chinese Web Sites using PHP
Dr. Herong Yang, Version 2.11

MySQL - Connecting PHP to Database

This chapter provides tutorial notes on connecting PHP scripts to MySQl servers. Topics include creating database connection objects; executing INSERT INTO, SELECT, and UPDATE statements from PHP scripts.

php_mysql.dll - Configuring PHP to Use MySQL Module

Commonly Used MySQL Functions

mysql_connect() - Creating MySQL Connections

INSERT INTO - Inserting New Records

SELECT - Running Database Queries

UPDATE - Modifying Database Records

Dr. Herong Yang, updated in 2007
MySQL - Connecting PHP to Database