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 '&& section_id=0 && sub_cat_id ='47'' at line 1

select * from subcategory where cat_id= && section_id=0 && sub_cat_id ='47'

Filename: /var/www/html/greenhandle/models/common_model.php

Line Number: 37