A Database Error Occurred

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 is_approve=1 order by id DESC' at line 1

Select * from sys_product where id= AND is_approve=1 order by id DESC

Filename: /home/saleking/public_html/models/dbmodel.php

Line Number: 70