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 'apps_items.prod_id) AND apps_category.cat_status=1 AND apps_items.app_status=1 ' at line 1

SELECT DISTINCT apps_category.* from apps_category,apps_items where FIND_IN_SET(apps_category.cat_id,apps_items.cat_id) AND FIND_IN_SET(,apps_items.prod_id) AND apps_category.cat_status=1 AND apps_items.app_status=1 AND apps_category.pcat_id=2

Filename: /home/ajay1/naughtyapp.com/htdocs/models/user_model.php

Line Number: 1523