SELECT kb.ID, kb.Title, DATE_FORMAT(kb.Date, '%d/%m/%Y') AS MWDate, kbt.KBTypeID, kbt.KBTypeName FROM knowledgebase kb, kbtype kbt WHERE kb.Deleted = 0 AND kb.Display = 1 AND kbt.KBTypeID = kb.Type AND (kb.Title LIKE ? OR kbt.KBTypeName LIKE ?) ORDER BY

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 'LIMIT 15,15' at line 1