SELECT id,keywords,from_user,create_date,create_time,course_id,course_subject_id,subject,content,content_type,is_html,is_practice FROM course_sub_subject WHERE id <40166 and active=1 and content_type=0 and course_id= ORDER BY id DESC LIMIT 1
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 id DESC LIMIT 1' at line 1خطا در داده فایل پی اچ پی چیست؟(What is a PHP File