Home » Php » Advantages Of MySQLi over MySQL [closed]

Advantages Of MySQLi over MySQL [closed]

Posted by: admin December 5, 2017 Leave a comment


What are the advantages of using MySQLi over MySQL?


See the docs:

What is PHP’s mysqli Extension?

The mysqli extension, or as it is
sometimes known, the MySQL improved
extension, was developed to take
advantage of new features found in
MySQL systems versions 4.1.3 and
newer. The mysqli extension is
included with PHP versions 5 and

The mysqli extension has a number of
benefits, the key enhancements over
the mysql extension being:

  • Object-oriented interface
  • Support for Prepared Statements
  • Support for Multiple Statements
  • Support for Transactions
  • Enhanced debugging capabilities
  • Embedded server support

PHP Manual explains the differences

Leave a Reply

Your email address will not be published. Required fields are marked *