Notice: Undefined variable: cms_id in /var/www/vhosts/motobility.com.au/httpdocs/product-sub-category-fetch.php on line 19
Notice: Undefined variable: cms_id in /var/www/vhosts/motobility.com.au/httpdocs/product-sub-category-fetch.php on line 26
Notice: Undefined variable: cms_parent_id in /var/www/vhosts/motobility.com.au/httpdocs/product-sub-category-fetch.php on line 83
Notice: Undefined variable: select_row in /var/www/vhosts/motobility.com.au/httpdocs/product-sub-category-fetch.php on line 93
select count(*) as tot from `product` WHERE status = 1 AND pr_category_id = AND (pr_sub_cat_id IN ()) GROUP BY id 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 (pr_sub_cat_id IN ()) GROUP BY id' at line 1