Christopher Painter-Wakefield a e'crit :



Are you not seeing any error messages coming through? I suspect the
problem is that you have a SQL error, and if you look, you'll find it. You
should have gotten a SQL error previously. What output are you seeing in
your <blog_addingnews> element?


its empty ...
i made another fix about the primary key.
<esql:query>
INSERT INTO blog_news id_blog_user,news_title,news_text,news_image,news_date_creation,news_date_modify)
VALUES (<esql:parameter type="string"><xsp:expr>id_blog_user</xsp:expr></esql:parameter>,
<esql:parameter type="string"><xsp:expr>news_title</xsp:expr></esql:parameter>,
<esql:parameter type="string"><xsp:expr>news_text</xsp:expr></esql:parameter>,
<esql:parameter type="string"><xsp:expr>news_image</xsp:expr></esql:parameter>,
'TODAY()',NULL);
</esql:query>


if i do it by hand its working... but not with ESQL

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to