Time : 16:50:47 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, ' DESC LIMIT :startNum, :rowCount Time : 15:03:07 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())