澳门新葡亰平台游戏网站Php+SqlServer实现分页显示

htmlbodytable border=1 ? $id=@mssql_connect(“ddy”,”sa”,” “卡塔尔(قطر‎ or
die(“连接不上”卡塔尔(قطر‎; $db=mssql_select_db(“ddy”,$id); $query=”select *
from lr00 order by lr0012 desc”; $result=mssql_query($query);
if($result): if($tt==””){ $nopa=0;} else $nopa=$tt;
$gg=mssql_num_rows($result); echo $gg; $k=0; $i=0;
$dd=mssql_fetch_array($result); if(!$dd){echo 到底了;}
while($dd$nopa=$gg$i3){ if($nopa=$gg) $nopa=$gg;
@mssql_data_seek($result,$nopa); $dd=@mssql_fetch_array($result);
if($dd){$nopa++;$i++; echo “br”; echo $dd[1]; } } endif; ?/table
?if($nopa$gg){? a href=fenye2.php?tt=?echo
$nopa+1;?/a/body/html?}?

You can leave a response, or trackback from your own site.

Leave a Reply

网站地图xml地图