Originally Posted by webaddict
Why did they deprecate MySQL and write a whole new language
How is adding an i into the function name and reversing the order of the two parameters a whole new language? That's abot all you need to do to be able to use mysqli calls procedurally in place of procedural mysql calls.
It is only if you want to use object oriented calls that you need to make any more changes than that for the mysqli calls to work.
You only need to switch to PDO if you want to allow for porting the data to different databases in the future without needing to change the code.