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 ')' at line 1
SELECT id,title,member_id,category_id,UNIX_TIMESTAMP(date_added) AS date_added,date_added AS date_added2,rating,embeded,watched,image,comment_nr,description FROM videos WHERE activated=1 AND (id=647 OR id=438 OR id=582 OR id=576 OR id=297 OR id=436 OR id=151 OR id=)