Open("select * from dbo_dirs",$conn,1,3); /* 循环">
时间:2021-07-01 10:21:17 帮助过:3人阅读
Open($connstr); /* 创建记录集查询 */ $rs = @new COM("ADODB.RecordSet"); $rs->Open("select * from dbo_dirs",$conn,1,3); /* 循环读取数据 */ while(!$rs->eof){ echo "$rs->Fields["title"]->Value; echo " "; $rs->Movenext(); //将记录集指针下移 } $rs->close(); ?>
http://www.bkjia.com/PHPjc/446995.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/446995.htmlTechArticleOpen($connstr); /* 创建记录集查询 */ $rs = @new COM(ADODB.RecordSet); $rs-Open(select * from dbo_dirs,$conn,1,3); /* 循环读取数据 */ while(!$rs-eof){ echo $rs-Fields[t...