Jump to content

Archived

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

earl_dc10

mysql vs mysqli

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!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

×

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.