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 's Cotton Graphic No Show 6-Pair Pack (Multi%' and prodName like '%Hosiery%') OR' at line 3