Sun

Custom Fabrication

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 isActive = 1 ORDER BY catID' at line 2
Array
(
    [0] => Error Number: 1064
    [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 isActive = 1
				ORDER BY catID' at line 2
    [2] => SELECT * FROM ProductCats
				WHERE parentID =  AND isActive = 1
				ORDER BY catID
		
)