Need help to write xquery in php

Discussion in 'PHP' started by tempex, Jul 11, 2012.

  1. #1
    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.

    xquery for $d in db2-fn:xmlcolumn('TERM.TERM')
    where fn:contains($d/term, '$keyword')
    return $d
    
    Code (markup):
    Thanks in advanced
     
    tempex, Jul 11, 2012 IP