What will be connection string to Access database file with PHP

后端 未结 4 1284
轻奢々
轻奢々 2021-01-21 10:06

I installed WAMP, I have access database file in project folder, but don\'t have installed Access on my computer.

Can I read and update Access file with PHP even I don\'

4条回答
  •  不知归路
    2021-01-21 10:59

    query($sql);
    
    while($result = $rs->fetch())
    {
         echo $result[0].": ".$result[1].": ".$result[2]."
    "; } ?>

    If u got error like pdo ODBC Drivers not installed just go to php.ini and find extension = pdo_ODBC Driver and remove the comment(;) after that restart the apache

提交回复
热议问题