connecting to MS ACCESS in PHP
Web Development
2
Posts
2
Posters
0
Views
1
Watching
-
I want to connect to MS ACCESS and rerieve records in a table using PHP. How can I achieve this? samitha
I've never had a need for this personally; however, here is an example I found on the PHP site as a user contributed comment (http://ca.php.net/manual/en/ref.com.php): $conn = new COM("ADODB.Connection"); $dsn = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath("mydb.mdb"); $conn->Open($dsn); Also check pear.php.net I know they have an absraction layer class that will do the trick. Remember that you need COM installed with PHP