Time : 18:08:31 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 '' LIKE ?' at line 1 Raw SQL : SELECT COUNT(*) FROM 2015_press WHERE no > :no AND d_show = :show AND del = :del AND sort = :sort AND -1' LIKE :keyword Time : 18:08:25 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 '' DESC LIMIT ?, ?' at line 1 Raw SQL : SELECT no, name, title, content, likes, hit, reg_date FROM 2015_press WHERE no > :no AND d_show = :show AND del = :del AND sort = :sort AND (title LIKE :keyword_title AND content LIKE :keyword_content) ORDER BY top ASC, -1' DESC LIMIT :startNum, :rowCount Time : 18:08:10 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 '' LIKE ?' at line 1 Raw SQL : SELECT COUNT(*) FROM 2015_clinic_diary WHERE no > :no AND d_show = :show AND del = :del AND -1' LIKE :keyword Time : 18:08:02 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 '' 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 AND (title LIKE :keyword_title OR content LIKE :keyword_content) ORDER BY best ASC, -1' DESC LIMIT :startNum, :rowCount Time : 18:07:39 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 '' DESC LIMIT ?, ?' at line 1 Raw SQL : SELECT no, name, title, content, likes, hit, reg_date FROM 2015_press WHERE no > :no AND d_show = :show AND del = :del AND sort = :sort ORDER BY top ASC, -1' DESC LIMIT :startNum, :rowCount Time : 18:07:25 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 '' 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, -1' DESC LIMIT :startNum, :rowCount