日期:2014-05-17 浏览次数:20491 次
$rs = mysql_query("select.name, b.name as pname from business_circle a, business_circle b where a.parent_id = b.id");
while($row = mysql_fetch_assoc($rs)) {
echo $row['name'] . ' ' . $row['pname'] . '<br>';
}
$rs = mysql_query("select a.name, b.name as pname from business_circle a, business_circle b where a.parent_id = b.id");
while($row = mysql_fetch_assoc($rs)) {
echo $row['name'] . ' ' . $row['pname'] . '<br>';
}