Warning: extract() expects parameter 1 to be array, boolean given in /home/vestahome/public_html/library/product-functions.php on line 603
Warning: extract() expects parameter 1 to be array, boolean given in /home/vestahome/public_html/include/productDetail.php on line 16
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 from_date<=CURDATE() AND to_date>=CURDATE()
AND visible=1' at line 3SELECT discount as discnt
FROM tbl_categories_discount
WHERE cat_id = AND from_date<=CURDATE() AND to_date>=CURDATE()
AND visible=1