i'm executing a query like this
<sql:execute-query>
<sql:query>delete from comments where cid='<xsl:value-of
select="$cid"/>' and user='<session:getxml context="cSession"
path="/parameter/username"/>' </sql:query>
</sql:execute-query>
i've this problem:
When the where clauses are respected the line is correctly deleted and
i should obtain (simulating in mysql shell) something like "ok, 1 row
affected"
otherwise i should get "0 rows affected".
Is there in cocoon a way to get the number of rows affected by a query
like php instruction
mysql_affected_rows?
thank you.
--
copyright - fabpicca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]