Time : 23:54:26 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()) Time : 14:11:59 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 ' etc3 = '테스트' order by no asc limit 1' at line 1 Raw SQL : SELECT * FROM 2015_photo WHERE etc2 = '', etc3 = '테스트' order by no asc limit 1