Time : 04:29:08 SQLSTATE[42000]: Syntax error or access violation: 1064 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 '123' AND status = '1' AND brandcode NOT LIKE '%1' ORDER BY brandcode' at line 1 Raw SQL : SELECT * FROM totalweb_brand WHERE category = '001001000000'123' AND status = '1' AND brandcode NOT LIKE '%1' ORDER BY brandcode Time : 04:29:08 SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''123' at line 1 Raw SQL : SELECT * FROM totalweb_category where code=001001000000'123 Time : 02:39:43 SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''A=0' at line 1 Raw SQL : update totalweb_bbs set hit = hit + 1 where id = 32'A=0 Time : 02:39:43 SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''A=0' at line 1 Raw SQL : SELECT * FROM totalweb_bbs where id=32'A=0