Is it possible to connect to a Microsoft Access database
without a DSN? If so, how??
Answer Posted / ghan shyam
yes it is posible to connect ms access database without dsn
you have to provide Driver for database and database path in odbc_connect function. like :
odbc_connect(DRIVER={Microsoft Access Driver
(*.mdb)}; DBQ="{database path}", "{db username if any}"
, "{db_password if any}") or die("could not connect to database");
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is cakephp framework?
How do I expire a php session after 30 minutes?
What is difference between php and wordpress?
What is $_ get and $_ post in php?
How to initiate a session in php?
What is the difference between require_once and require in php?
Is null in php?
Which php global variable is used for uploading a file?
Define urlencode() and urldecode() used in php?
How can you associate a variable with a session?
What is the default session time in php?
Which are the best start and end tags to use?
How does php sessions work?
What is difference between print_r and echo in php?
Explain what does the unlink() function means?