Retrieving data from a MYSQL database

Demo: database connection, SQL statement, Loop