Proper and easy use of MySQLi with PHP

I’d like to demonstrate how fetching data with mysqli works.
What really got improved compared to mysql_ functions in mysqli or PDO is the variable binding.

To bind variables, check this sample from my answer on http://stackoverflow.com/a/18196311/1948292

Leave a Reply

Your email address will not be published. Required fields are marked *