ERROR: Table './wsbangla_wsbangla/photos' is marked as crashed and should be repaired query was SELECT news.news_id AS news_id, top_subhead, head_line, MID(news_details,1,1320) AS news_details, intro_photo, ctg_id AS newsctgid, photo_name, caption FROM news LEFT JOIN photos ON news.news_id = photos.news_id WHERE publication_status = 'yes' AND pd_id = '71' AND ctg_id = 70 ORDER BY news_id ASC