PHP file connecting to MySQL

This file connects to a MySQL database, queries the data stored there
then displays the results of that query as an HTML table.

The code also presents an error handling method to deal with issues
pertaining to connecting / querying the database.