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 '?ms=9&idd=237&i=Hole%20Punch%20Paper%20(Perforator)%20%EF%BF%BD%EF%BF%BD%EF%BF%B' at line 3