related articles:
PHP's mysql extension arrangement and realizing the operation of the database analysis
Introduction
mysqli PHP is a program with mysql database data exchange bridge, and mysql extension, it supports process-oriented and object-oriented in two ways.
First, I implement the code are the same functionality through a process-oriented and object-oriented way
Process-oriented way: