You can use following string:
?php
if (!$conn = new COM(“ADODB.Connection”))
exit(“Unable to create an ADODB connection<br>”);
$strConn = “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=” . realpath(“/testdb/test.mdb”);
$conn->open($strConn);
?>
?php
if (!$conn = new COM(“ADODB.Connection”))
exit(“Unable to create an ADODB connection<br>”);
$strConn = “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=” . realpath(“/testdb/test.mdb”);
$conn->open($strConn);
?>
No comments:
Post a Comment