trial php modifications - not functional

This change corrects a couple obvious errors and utilizes a
db_config.php file on the server.  That db_config.php file makes the
connection to the mysql server and creates a small handful of variables.