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 'Pokie"). It has an exciting Golden Stars feature. Double up any win up to five t' 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 "%Pokie Magic - Lucky Stars is an Aussie style 20 payline 5 reel poker machine (also called a slot machine or a "Pokie"). It has an exciting Golden Stars feature. Double up any win up to five times. Play the pokies at home!%" order by softinfo.id desc limit 0, 50/softwareDetail.php