TIPS: MySQL Query Error
SQL:SELECT f.fav_id, f.fav_time, w.web_name, w.web_url FROM dir_favorites f LEFT JOIN dir_websites w ON f.web_id=w.web_id WHERE f.user_id= ORDER BY f.fav_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 f.fav_time DESC LIMIT 0, 10' at line 1