1
有人可以帮我纠正我试图运行我的MySQL查询时得到的以下错误。MySQL查询错误
这是我的错误。
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 'WHERE user_id = '3' AND id = '3' AND friendship_status = '0'' at line 2
这是我的mysql代码。
SELECT users_friends.*
WHERE user_id = '$user_id'
AND id = '$request_id'
AND friendship_status = '0'
哪里是'SELECT'后'from'? – 2010-07-10 07:07:25
嗯,我只是注意到我的错误,谢谢。不要在深夜编码 – 2010-07-10 07:08:41