sp; '/_xsl' => $xslstring
);
$xh = xslt_create();
$result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', null, $arguments);
if ($result) {
return $result;
xslt_free($xh);
} else {
return "转换xml数据到xsl时出错";
xslt_free($xh);
}
} //end function getHtml()
//从用户信息表中查询数据的SQL语句
$sql = "select
nsrnm, #代码
qymc, #企业名称
qydh #电话
from
yhxx #用户信息表";
);
$xh = xslt_create();
$result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', null, $arguments);
if ($result) {
return $result;
xslt_free($xh);
} else {
return "转换xml数据到xsl时出错";
xslt_free($xh);
}
} //end function getHtml()
//从用户信息表中查询数据的SQL语句
$sql = "select
nsrnm, #代码
qymc, #企业名称
qydh #电话
from
yhxx #用户信息表";
| 对此文章发表了评论 |
