Warning: Undefined array key "id" in /var/www/html/product.php on line 33

Warning: Undefined array key "id" in /var/www/html/product.php on line 93

Warning: Undefined array key "id" in /var/www/html/product.php on line 104
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