$id=@mssql_connect("ddy","sa"," ") or die("連線不上");
$db=mssql_select_db("ddy",$id);
$query="select * from lr00 order by lr0012 desc";
$結果=mssql_query($query);
if($result) :
if($tt==""){
$nopa=0;}
else $nopa=$tt;
$gg=mssql_num_rows($結果);
迴聲$ gg;
$k=0;
$i=0;
$dd=mssql_fetch_array($result);
if(!$dd){echo '到底了';}
while($dd&&$nopaif($nopa>=$gg) $nopa =$gg;
@mssql_data_seek($結果,$nopa);
$dd=@mssql_fetch_array($result);
if($dd){$nopa ;$i ;
回顯「
」;
回顯$dd[1]; }
}
endif;
? >表>
>下一頁身體>}? >