SELECT * FROM journaltocs.tblTOCitems WHERE (itemTitle LIKE "%open%" OR itemDescription LIKE "%open%") (itemTitle LIKE "%education%" OR itemDescription LIKE "%education%") LIMIT 0, 50

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 '(itemTitle LIKE "%education%" OR itemDescription LIKE "%education%") LIMIT 0, 5' at line 1