Click to See Complete Forum and Search --> : php and MS Access


Bluey
10-02-2003, 10:18 AM
Hi,

Does anyone know how to get php to connect to an access database? The php script and the access database are sitting in the same directory on a Windows NT server and need to be run from machines on a LAN. Php has PEAR installed, but I still can't seem to get php to create a connection to the database. Have tried googling around and tried various code but to no avail. Any help greatly appreciated.

Thanks

p.s php version 4.3.1

pyro
10-02-2003, 12:02 PM
You are going to want to look into ODBC (http://us4.php.net/manual/en/ref.odbc.php). Perhaps this article will help: http://www.phpfreaks.com/tutorials/61/0.php.