Friday, July 27, 2018

MySQL vs MySQLi when using PHP




Which is better, MySQL or MySQLi? And why? Which should I use?




I mean better not just in terms of performance, but any other relevant feature.


Answer



If you have a look at MySQL Improved Extension Overview, it should tell you everything you need to know about the differences between the two.



The main useful features are:




  • an Object-oriented interface

  • support for prepared statements


  • support for multiple statements

  • support for transactions

  • enhanced debugging capabilities

  • embedded server support.


No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...