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 ';*.gif:*.swf"%" order by softinfo.id desc limit 0, 50' at line 1||||| select softinfo.*, subcategory.id as categoryid, subcategory.catName as subCatName, subcategory.parentid, parentcategory.catName from softinfo inner join subcategory on subcategory.id = softinfo.categoryid inner join parentcategory on subcategory.parentId = parentcategory.id where softkeyword like "%like "*.jpg;*.gif:*.swf"%" order by softinfo.id desc limit 0, 50/softwareDetail.php