TIPS: MySQL Query Error
SQL:SELECT l.link_id, l.user_id, l.deal_type, l.link_name, l.link_price, l.link_days, l.link_time, w.web_name, w.web_url, c.cate_id, c.cate_name, d.web_grank, d.web_brank, d.web_srank, d.web_arank FROM dir_weblinks l LEFT JOIN dir_websites w ON l.web_id=w.web_id LEFT JOIN dir_categories c ON w.cate_id=c.cate_id LEFT JOIN dir_webdata d ON w.web_id=d.web_id WHERE l.user_id= ORDER BY l.link_istop DESC, l.link_time DESC LIMIT 0, 10
Error: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 'ORDER BY l.link_istop DESC, l.link_time DESC LIMIT 0, 10' at line 1
Errno:1064