$sql = mysql_query("INSERT INTO rpg (username, password, email, str, end, agi, wis, int) VALUES('$username', '$password', '$email', '$str', '$end', '$agi', '$wis', '$int')") or die (mysql_error());
Returns with
You have an error in your SQL syntax near 'int) VALUES('God', 'snip', 'Firebird@t4cbible.com', '20', '20', '20', '10', '' at line 1
Obviously, it's the $int variable which isn't being inserted correctly. However, I can $echo it just fine, meaning something would be wrong with the statement.
Help?