SELECT * FROM subcategories WHERE cat_id = AND url='multi-head-post-lights' LIMIT 1
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND url='multi-head-post-lights' LIMIT 1' at line 1 Fatal error: Cannot break/continue 1 level in /var/www/vhosts/jrlighting.co.uk/httpdocs/outsidelights.ie/classes/dao.php on line 50