Need help to write xquery in php
Posted: Wed Jul 11, 2012 4:44 am
Hello,
Need a little help to execute query below in php
The query goes well in DB2 command editor, but I do not have any idea how to execute it in php.
Thanks in advanced.
Need a little help to execute query below in php
The query goes well in DB2 command editor, but I do not have any idea how to execute it in php.
Code: Select all
xquery for $d in db2-fn:xmlcolumn('TERM.TERM')
where fn:contains($d/term, '$keyword')
return $d