Hey there guys,
I am trying to insert a record into ze table but I am getting this error when I try to:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '; VALUES ('John_Smith', `1`, `1`, `1643.188842`, `-2291.253417`, `' at line 1
The two lines:
mysql_query("INSERT INTO `playeraccounts` (`playerName`, `owner`, `playerSkin`, `playerPosX`, `playerPosY`, `playerPosZ`, `playerMoney`, `playerGender`);
VALUES ('" . $playerName . "', `$userID`, `1`, `1643.188842`, `-2291.253417`, `-1.196046`, `100`, `-1`'" . $playerGender . "'") or die(mysql_error());
Thanks for your time, and help!