$result = mysql_query( $SQL ) or die("Couldn t execute query.".mysql_error());
if ( stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml") ) {
header("Content-type: application/xhtml+xml;charset=utf-8"); } else {
header("Content-type: text/xml;charset=utf-8");
}
$et = ">";
echo "<?xml version='1.0' encoding='utf-8'?$et\n";
echo "<rows>";
echo "<page>1</page>";
echo "<total>1</total>";
echo "<records>1</records>";
// be sure to put text data in CDATA
while($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
echo "<row>";
echo "<cell>". $row[account_id]."</cell>";
echo "<cell>". $row[name]."</cell>";
echo "<cell>". $row[acc_num]."</cell>";
echo "<cel
Jqgrid Tree cell内各项含义
最新推荐文章于 2024-09-11 00:04:15 发布
Jqgrid Tree的cell中包含关键信息:Level指示节点层级,始于0;Parent标识父节点ID;isLeaf用于标记节点是否为叶子节点;Expanded表示节点当前是否展开显示其子节点。
摘要由CSDN通过智能技术生成