XML Document:
<logic> if
($a==1){ <execute-query> <![CDATA[ SELECT * FROM address WHERE
id
=$CGI_paraname ]]> </execute-query> }else{ <execute-query> <![CDATA[ SELECT
* FROM address2 WHERE id
=$CGI_paraname ]]> </execute-query> } </logic>
I want to transfer to using *.xsl.
if ($a==1){ $sql='SELECT * FROM address WHERE
id =$CGI_paraname'; }else{ $sql='SELECT * FROM address2 WHERE id
=$CGI_paraname'; }
|