我会简短地说:我的 INSERT 命令有问题,但我找不到它......
$result = mysql_query("INSERT INTO players (username, x, direction, char)
VALUES ('test', '20', 'right', '2')");
错误信息是:
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 'char) VALUES
('test', '20', 'right', '2')' at line 1
错误在哪里?