This example illustrates how to create a ODBC Connection for php application.
With an ODBC connection, you can connect to any database, on any computer in your network, as long as an ODBC connection is available.
Here is how to create an ODBC connection to a MS Access Database:
Note that this configuration has to be done on the computer where your web site is located. If you are running Internet Information Server (IIS) on your own computer, the instructions above will work, but if your web site is located on a remote server, you have to have physical access to that server, or ask your web host to to set up a DSN for you to use.
Source Code of sqlodbc.php
Posted on: December 10, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles