2个回答
展开全部
可以用COM操作
给你个例子:
$conn=new com("ADODB.Connection");
$conn->open("Driver={Microsoft Access Driver (*.mdb)};DBQ=".realpath("test.mdb"));
$rs=$conn->execute("select * from News");
while(!$rs->eof()){
echo $rs['Title'].'<br>';
$rs->movenext();
}
$rs->close();
unset($rs);
unset($conn);
给你个例子:
$conn=new com("ADODB.Connection");
$conn->open("Driver={Microsoft Access Driver (*.mdb)};DBQ=".realpath("test.mdb"));
$rs=$conn->execute("select * from News");
while(!$rs->eof()){
echo $rs['Title'].'<br>';
$rs->movenext();
}
$rs->close();
unset($rs);
unset($conn);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询