Sql query errorSQL query SELECT DISTINCT categoryID FROM `S_stockcats` WHERE parentID = AND cumulative_prod_count > 0 Gave the following 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 'AND cumulative_prod_count > 0' at line 1File : /var/www/vhosts/www.fourleafclothing.co.uk/httpdocs/sm_red/includes/shop/product_display/functions_product_display.inc.phpLine : 60

Based in the heart of Worcester,
Fourleaf Clothing is derermined to bring you the very best in alternative clothing in store and online. Based on unrivaled customer service
foundations and boasting an ever evolving list of products and services