Time : 16:12:04 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(SUBSTR(code, 1, 6),'000000') = '004001000000' AND code NOT LIKE '%000000' AND c' at line 1 Raw SQL : SELECT * FROM totalweb_category CONCAT(SUBSTR(code, 1, 6),'000000') = '004001000000' AND code NOT LIKE '%000000' AND category_options = '1' Time : 11:30:48 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near './../../images/kfcc.ico' at line 1 Raw SQL : update totalweb_bbs set hit = hit + 1 where id = 427/../../../images/kfcc.ico Time : 11:30:48 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near './../../images/kfcc.ico' at line 1 Raw SQL : SELECT * FROM totalweb_bbs where id=427/../../../images/kfcc.ico