Mysqli is a better implementation
The "i" stands for "improved". The list of improvements can be found in here (http://www.php.net/manual/en/mysqli.overview.php) MySQLi is the OOP version of MySQL extension. In the end, MySQLi and MySQL accomplish the same thing:
In relation to PHP, MySQL is the old database driver, and MySQLi is the Improved driver. MySQLi takes advantage of the newer features of MySQL 5. Lifted verbatim from the php.net site: Object-oriented interface Support for Prepared Statements Support for Multiple Statements Support for Transactions Enhanced debugging capabilities Embedded server support You have the choice of using mysql, mysqli, or PDO essentially.
Обсуждают сегодня