SELECT a.proTypeID , b.infoID FROM producttype a JOIN information b ON a.proTypeID = b.proTypeID WHERE b.typeNo = "09" AND b.infoID =O-RING%20FAILURE%20:%20Heat%20Hardening%20and%20Oxidation mysqlFetch error !!!!You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':%20Heat%20Hardening%20and%20Oxidation' at line 1