This example illustrates how to create an ODBC Connection for php application.
Follow the given steps to create an ODBC connection to a MS Access Database:
Now we can use the DSN when connecting to the database. In the given example
below, 'myodbc' is the DSN for the database. Connection from database is created
odbc_connect() and query "
SELECT * FROM emp"
is executed using
result is fetched using
Source Code of sqlodbc.php
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: January 20, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles