Time : 20:31:54 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 ''' at line 1 Raw SQL : SELECT * FROM totalweb_service WHERE id=3' Time : 20:31:54 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 '1' AND brandcode NOT LIKE '%1' ORDER BY brandcode' at line 1 Raw SQL : SELECT * FROM totalweb_brand WHERE category = '001001000000'' AND status = '1' AND brandcode NOT LIKE '%1' ORDER BY brandcode Time : 20:31:54 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 ''' at line 4 Raw SQL : SELECT *, b.code, b.category_name as `name`, c.code as code1, c.category_name as cate FROM totalweb_brand a LEFT OUTER JOIN totalweb_category b ON a.category = b.code LEFT OUTER JOIN totalweb_category c ON CONCAT(SUBSTR(a.brandcode, 1, 6),'000000') = c.code WHERE CONCAT(SUBSTR(brandcode, 1, 6),'000000')=002001000000' Time : 20:31:54 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 ''' at line 1 Raw SQL : SELECT count(*) FROM totalweb_brand where CONCAT(SUBSTR(brandcode, 1, 6),'000000')=002001000000' Time : 20:31:53 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 ''' at line 1 Raw SQL : SELECT * FROM totalweb_category where code=001001000000' Time : 20:31:53 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 '' ORDER BY brandcode' at line 1 Raw SQL : SELECT * FROM totalweb_brand where CONCAT(SUBSTR(brandcode, 1, 6),'000000')=002001000000' ORDER BY brandcode Time : 20:31:54 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 ''' at line 1 Raw SQL : SELECT * FROM totalweb_category where code=001001000000' Time : 20:31:54 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 ''' at line 4 Raw SQL : SELECT *, b.code, b.category_name as `name`, c.code as code1, c.category_name as cate FROM totalweb_brand a LEFT OUTER JOIN totalweb_category b ON a.category = b.code LEFT OUTER JOIN totalweb_category c ON CONCAT(SUBSTR(a.brandcode, 1, 6),'000000') = c.code WHERE CONCAT(SUBSTR(brandcode, 1, 6),'000000')=002001000000' Time : 20:31:53 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 ''' at line 1 Raw SQL : SELECT count(*) FROM totalweb_brand where CONCAT(SUBSTR(brandcode, 1, 6),'000000')=002001000000' Time : 20:31:53 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 '' ORDER BY brandcode' at line 1 Raw SQL : SELECT * FROM totalweb_brand where CONCAT(SUBSTR(brandcode, 1, 6),'000000')=002001000000' ORDER BY brandcode ),'000000')=002001000000' ORDER BY brandcode Time : 20:31:53 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 ''' at line 1 Raw SQL : SELECT * FROM totalweb_service WHERE id=3'