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