Time : 14:57:11 SQLSTATE[HY093]: Invalid parameter number: parameter was not defined Raw SQL : UPDATE 2015_counsel SET sort = :sort, store = :store, id = :id, name = :name, pw = :pw, email = :email, phone = :phone, title = :title, content = :content, ip = INET_ATON(:ip) WHERE no = :no Time : 11:22:07 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 '.$i['seq'].'.jpg'' at line 1 Raw SQL : SELECT * FROM b_link WHERE shorten = 'front/epilogue/bk2/img/a3b'.$i['seq'].'.jpg'