$account = $_GET['account']; $db = mysql_connect('cheersgames.com', 'lcheers', 'qweriop[') or die('Could not connect: ' . mysql_error()); mysql_select_db('lcheers_michael') or die('Could not select database'); // Send variables for the MySQL database class. $query = "INSERT INTO accounts username='$username', gold='$gold'"; $result = mysql_query($query) or die('Query failed: ' . mysql_error());