Projects ‒ Sector Focus

Error in query:SELECT id,image_file, main_image FROM bisley_images WHERE cat_id = AND category = 1 AND main_image = 2 AND status = 2 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 category = 1 AND main_image = 2 AND status = 2' at line 1