Jump to content

mysql to mysqli


coppens

Recommended Posts

If you are wanting to learn more about mysqli and hone in on your skills, you can check out the documentation on php.net: http://php.net/manual/en/book.mysqli.php

 

However, if you are looking to convert your current code from mysql functions to mysqli in a hurry, there was a converter tool on Oracle's website that I believe has been relocated to Github: https://github.com/philip/MySQLConverterTool

Link to comment
https://forums.phpfreaks.com/topic/297497-mysql-to-mysqli/#findComment-1517509
Share on other sites

Just to be clear, the database itself will still be a MySQL database - MySQL's not going anywhere.

 

MySQLi is a php class that's replacing the deprecated MySQL php functions. So it has nothing to do with the database itself, but rather with the way you interact with the database in php.

 

All the mysql_somethingfunction() that you see in the code itself need to be updated to use mysqli_comparativefunction().

Link to comment
https://forums.phpfreaks.com/topic/297497-mysql-to-mysqli/#findComment-1517673
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.