Jump to content

mysql vs mysqli


earl_dc10

Recommended Posts

hey, I stumbled upon MySQLi at php.net when I misspelled a function name. I was wondering what the difference was, the functions look identical and the only difference I noticed was that MySQLi is MySQL Improved Extension. but I was wondering if anyone knew what the actual difference was or "improvement" is. thanks!
Link to comment
https://forums.phpfreaks.com/topic/6623-mysql-vs-mysqli/
Share on other sites

MySQLi's functions in PHP is different to the normal mysql extensions. As people that do alot of OOP (object oriented programming) can use the inbuilt mysql class with the mysqli extension to connect to the mysql database.

Also alot of the mysqli_x functions have slightly different syntax compared to normal mysql_x functions. Such as the parameters are in different locations or some have more parameters too.

Generaly mysqli is alot more better than the original mysql extension.
Link to comment
https://forums.phpfreaks.com/topic/6623-mysql-vs-mysqli/#findComment-24135
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.