Time : 20:30:49 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 ''A=0 DESC LIMIT ?, ?' at line 1 Raw SQL : SELECT no, best, title, content, likes, hit, reg_date FROM 2015_clinic_diary WHERE no > :no AND d_show = :show AND del = :del ORDER BY best ASC, 'A=0 DESC LIMIT :startNum, :rowCount Time : 15:46:29 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 '(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 : 15:46:27 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 '(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 : 09:27:53 SQLSTATE[HY093]: Invalid parameter number Raw SQL : INSERT INTO 2015_kakaotalk (store, name, subject, phone, wr_1, ip, reg_date) VALUES(:store, :name, :subject, :phone, :wr_1, INET_ATON(:ip), now())