You could also use some very basic PHP.

<?php

$conn = mysql_connect(dbhost, dbuser, dbpass) or die ('Unable to connect to database');
mysql_select_db(whatever_you_db_is);

$query = "SELECT *...