> (Simple PHP) Convert MySQL to MySQLi?

(Simple PHP) Convert MySQL to MySQLi?

Posted at: 2014-12-18 
You don't need anything special. all you need do is to start adding the letter "i" at the end of your "mysql" command:

Example:

mysqli_query(), mysqli_connect(), etc...

The letter stands for "improved". Got it?

Simply change all the mysql_ functions to mysqli_.

I'm working on this system that requires it to connect to a database and I learned that mysql_connect will soon be removed so I'm wanting to go ahead and update my functions to be ready.

The problem is that I'm not sure how to convert my current code to the new mysqli coding.

Here is the code:

http://puu.sh/bZeQJ/7562382c3e.txt

Thanks!