This is the MySQLi code to retrieve data from the db
MySQLi code to connect to the db
Minor updates to code