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

Leave a Reply

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