时间:2021-07-01 10:21:17 帮助过:3人阅读
$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'] . '
';
}
$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'] . '
';
}