Upgrade PHP mysql code to use mysqli instead -


i have site written in php sql code, best way upgrade code sqli? training or tutorials? how have clear php code?

mysql_connect("localhost","root",""); mysql_select_db("timer"); 

the documentation touches that, extent, e.g. here. can use same function names, prefixed mysqli instead of mysql part, apparently.

from there should able swap out parts of code better constructs in mysqli, e.g. parametrised statements instead of manually concatenating sql.


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -