文章详情页
PHP链接ACCESS数据库最简单的方法
<?; $dbc=new com('adodb.connection')$dbc->open('driver=microsoft access driver (*.mdb);dbq=c:member.mdb')$rs=$dbc->execute('select * from tablename')$i=0while (!$rs->eof){; $i+=1; $fld0=$rs->fields['UserName']$fld0=$rs->fields['Password']; ....; echo '$fld0->value $fld1->value ....'$rs->movenext()}; $rs->close()?>
标签:
PHP
上一条:PHP下实现端口复用/劫持下一条:PHP发现安全漏洞
排行榜
![Java实现Windows计算器界面](http://www.haobala.com/attached/image/news/202211/104355c79b.jpg)