$sql='select * from module where id not in (select mokuaiid from geren where gh ='.$_SESSION['gh'].')'; $result=mssql_query($sql,$conn); while($myrow=mssql_fetch_array($result)) echo ''.$myrow['mn'].''; ?>
for ($p=1; $p echo '
'; $sql='select mokuaiid from geren where biaogeid='.$p.' and gh ='.$_SESSION['gh']; $result=mssql_query($sql,$conn); while($myrow=mssql_fetch_array($result)){ $sql='select * from module where id='.$myrow['mokuaiid']; $result1=mssql_query($sql,$conn); while($myrow1=mssql_fetch_array($result1)){ echo ''.$myrow1['mn'].''; } } echo '
'; } ?>
for ($p=2; $p echo '
'; $sql='select mokuaiid from geren where biaogeid='.$p.' and gh ='.$_SESSION['gh']; $result=mssql_query($sql,$conn); while($myrow=mssql_fetch_array($result)){ $sql='select * from module where id='.$myrow['mokuaiid']; $result1=mssql_query($sql,$conn); while($myrow1=mssql_fetch_array($result1)){ echo ''.$myrow1['mn'].''; } } echo '
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn