note 38547 added to function.odbc-connect
| From: | talbot at telcom dot fr | Date: | Fri, 26 Dec 2003 18:09:59 +0000 |
| Subject: | note 38547 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62504@lists.php.net to get a copy of this message | ||
Complete article (unfortunately in Italian) on using Ms Access and COM, many examples though
http://freephp.html.it/articoli/view_articolo.asp?id=64
But how to connect via odbc without a dsn file?
This works fine
$dsn ="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=".realpath("mydb.mdb")
." ;DefaultDir=".realpath("./");
$user="";
$pass="";
$lnk=odbc_connect($dsn, $user, $pass);
......
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38547
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38547&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38547&report=yes
Search -- http://master.php.net/manage/user-notes.php