Table '.\qeasoft5_cs\soft_archives' is marked as crashed and should be repaired - Execute Query False! Select count(*) as dd From soft_archives where arcrank > -1 And ( (CONCAT(soft_archives.title,' ',soft_archives.description,' ',soft_archives.writer,' ',soft_archives.source) like '%Andrzej%' Or CONCAT(' ',soft_archives.keywords,' ') like '%Andrzej %') And (CONCAT(soft_archives.title,' ',soft_archives.description,' ',soft_archives.writer,' ',soft_archives.source) like '%Jan%' Or CONCAT(' ',soft_archives.keywords,' ') like '%Jan %') And (CONCAT(soft_archives.title,' ',soft_archives.description,' ',soft_archives.writer,' ',soft_archives.source) like '%Wiktor%' Or CONCAT(' ',soft_archives.keywords,' ') like '%Wiktor %') ) limit 0,1;