Updates to mysql.php