Time : 20:57:48 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 '(title LIKE ? AND content LIKE ?) ORDER BY insert_date DESC LIMIT 3' at line 1 Raw SQL : SELECT no, store, insert_date, name, title, content, hit FROM 2015_epilogue WHERE no > :no AND d_show = :show AND del = :del AND sort = :sort AND best = :best AND tag LIKE :tagAND (title LIKE :keyword_title AND content LIKE :keyword_content) ORDER BY insert_date DESC LIMIT 3 Time : 08:01:24 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''' at line 1 Raw SQL : SELECT COUNT(*) FROM 2015_post WHERE no > :no AND d_show = :show AND del = :del AND category LIKE :category AND type='A'' Time : 00:44:17 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 COUNT(*) FROM 2015_post WHERE no > :no AND d_show = :show AND del = :del AND category LIKE :category AND type='A'A=0' Time : 00:27:55 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 '[0]'' at line 1 Raw SQL : SELECT COUNT(*) FROM 2015_post WHERE no > :no AND d_show = :show AND del = :del AND category LIKE :category AND type='A'[0]'