Open($connstr);$rs = new com("ADODB.RecordSet");$rs->Open("select * from news",$conn,1,1);while(! $rs->eof) { echo $rs->Fields(0)->value; echo $rs->Fields(1)->value; $rs->MoveNext();}方便转换数据用
本文共 257 字,大约阅读时间需要 1 分钟。
Open($connstr);$rs = new com("ADODB.RecordSet");$rs->Open("select * from news",$conn,1,1);while(! $rs->eof) { echo $rs->Fields(0)->value; echo $rs->Fields(1)->value; $rs->MoveNext();}方便转换数据用
转载于:https://my.oschina.net/yecao/blog/152094