Invalid query: Whole query: SELECT id, short_id, short_title, display_categories, data_categories, icon_image, normal_image, normal_image2, normal_image3, long_description, web_url FROM portfolio where active = '1' and id = 25