/var/www/goldend1/public_html/detail.php 102 1064 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 v.id DESC' at line 5 SELECT v.id, v.html FROM product2video p2v, video v WHERE p2v.video_id = v.id AND p2v.product_id = ORDER BY v.id DESC