#config.inc.php
<?
$host="localhost";
$user="root";
$passwd="";
$db="hftd";
?>
class
字段 类型 Null 缺省值
id int(10) 否
name varchar(20) 否
description varchar(100) 是
level int(10) 否 1
sub int(11) 否 0
manager int(10) 是 0
fatherid int(10) 是 0
<?
$host="localhost";
$user="root";
$passwd="";
$db="hftd";
?>
class
字段 类型 Null 缺省值
id int(10) 否
name varchar(20) 否
description varchar(100) 是
level int(10) 否 1
sub int(11) 否 0
manager int(10) 是 0
fatherid int(10) 是 0
{
var xmlhttp = new ActiveXObject ("Microsoft.XMLHTTP");
xmlhttp.Open("get","tree.php?parId="+parId, false);
xmlhttp.Send("Author:taojianbo;Version:2.0");
return xmlhttp.responseText;
}这样发送过去的数据,php页面要怎么处理
不用xml就简单多了!