Welcome to the Linux community forum and interact with 2 million technical staff in PHP development. mysql or mysqli is currently widely used for database connection. PDO support is already available in PHP5. It is said that in the next version of PHP6, PDO will be used as the default database link tool. Whether it is true or not, PDO will be used as another database
Welcome to the Linux community forum and interact with 2 million technical staff> in PHP development, mysql or mysqli is currently widely used for database connection. PDO support is already available in PHP5. It is said that in the next version of PHP6, PDO will be used as the default database link tool. Whether it is true or not, PDO will be used as another database
Welcome to the Linux community forum and interact with 2 million technicians>
In PHP development, mysql or mysqli are currently widely used database connection methods. PDO support is already available in PHP5. It is said that in the next version of PHP6, PDO will be used as the default database link tool, whether it is true or not, as another connection method for databases, PDO may be widely used in the near future. Here, UnceToo will share with you about the current knowledge and use of PDO as an instance, part of the article code comes from the network.
Before using PDO, you must first set the PHP. ini file so that PHP supports PDO, because PHP5 is not supported by default. Find the PHP. ini file in the PHP installation directory, open and search extension = php_pdo.dll and extension = php_pdo_mysql.dll, remove the semicolon (;), and restart apache.