First, two functions are used to handle database operations.
The MYSQLI connection is a permanent connection, and MySQL is a non-persistent connection.
The MySQL connection will reopen a new process whenever it is used for the second time, and
I have never understood the difference between mysql and mysql when reading books or watching videos. So let's make a look at Google tonight. For more information, see.
I have never understood the difference between mysql and mysql when reading
: This article mainly introduces the basic knowledge of Mysqli. For more information about PHP tutorials, see. I believe that when I first started learning php, MySQL is the preferred choice for databases and mysql extension is the preferred choice
I:PHP-MySQL is the most primitive Extension for PHP to operate MySQL databases. I of PHP-MySQLi stands for Improvement and provides more advanced functions. Extension also increases security. The PDO (PHP Data Object) provides an action Layer to
One:
Php-mysql is PHP operation MySQL Database The most original Extension, php-mysqli I representative of improvement, to mention the relative advanced function, in the case of Extension, itself also increased security. and PDO (PHP data Object) is
PHP installation mysqli, Curl_init, GD extensionsI. Installing the MYSQLI extensionHere to use the Phpize,phpize command is used to prepare the PHP Extension Library compilation environment, usually after you install PHP, will be installed in the
The configuration environment is as follows.
apache_2.2.6
MySQL Server 5.5
Php-php-5.2.3-win32
Phpmyadmin-3.4.3.2-all-languages
Windows 32-bit
Novice, beginner PHP, learn to connect to MySQL. There is a problem, search all the methods on the
Reading, watching the video has not been understanding mysqli and MySQL exactly what the difference. So tonight, "Google" a bit, tidy up. You need a friend to refer to below.One:Php-mysql is the PHP operation MySQL Database The most primitive
This article introduces, PHP in about mysqli and MySQL class some differences, have the need for friends, can make a reference oh.One, Php-mysql is PHP operation MySQL Database The most primitive Extension, php-mysqli I for improvement, mention the
I. Characteristics and comparison
The MySQL extension of PHP is an early extension of design and development that allows PHP applications to interact with MySQL databases. The MySQL extension provides a process-oriented interface and is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.