Thursday, July 28, 2011

PHP MS access Connect using ADODB OR ADO Connection

http://phplens.com/lens/adodb/docs-adodb.htm

http://www.geekinterview.com/talk/8645-connecting-to-ms-access-with-php.html

include("adodb.inc.php"); 
$db = newadoconnection('access'); 
$db->connect("localhost", "root", "password", "my_access_db"); 



(OR)



$db =& ADONewConnection('access');

         $dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=d:\\northwind.mdb;Uid=Admin;Pwd=;";
         $db->Connect($dsn);



(OR)


http://www.phpclasses.org/browse/package/1700.html?download=targz

No comments:

Post a Comment