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

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -