Error Number: 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 subCat_status = '1' ORDER BY `subcategoryid` asc' at line 3
SELECT * FROM (`subcategory`) WHERE `category_mainid` = and subCat_status = '1' ORDER BY `subcategoryid` asc
Filename: /home4/mindrded/public_html/highpowerelectricals.com/controllers/products.php
Line Number: 214