[SQL] 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 '' at line 1 [QUERY] SELECT producten.trid FROM specs, producten WHERE producten.specsid=specs.specsid AND producten.specsid = [SQL] 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 datetime DESC' at line 1 [QUERY] SELECT name, city, country, email, opinion, rating, DATE_FORMAT(datetime, '%M %D %Y - %H:%i GMT') as datetime FROM userreview_opinion WHERE specsid = ORDER BY datetime DESC [SQL] 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 '' at line 1 [QUERY] SELECT title, url, target FROM userreview_link WHERE specsid = [SQL] 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 'AND specs.inuit=1 ORDER BY specs.clicks DESC LIMIT 0, 10' at line 1 [QUERY] SELECT specs.specsid, specs.type, specs.urlnaam, merken.merknaam FROM merken, specs WHERE merken.merkid = specs.merkid AND merken.merkid= AND specs.inuit=1 ORDER BY specs.clicks DESC LIMIT 0, 10