Fatal error: 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 'get-contents' at line 1 QUERY: SELECT x.*, xx.url AS gurl, xx.querystring FROM sales x INNER JOIN sales_groups xx ON x.sales_id = xx.id WHERE x.disabled = 0 AND x.id = function.file-get-contents in /home/www/comedycentralen.dk/_cms/db.class.php on line 45