Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.