SELECT a.proTypeID , b.infoID FROM producttype a JOIN information b ON a.proTypeID = b.proTypeID WHERE b.typeNo = "09" AND b.infoID =Hallite%20:16 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 ':16' at line 1