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 php namespace?
Is age an interval or ratio?
Does mysql need php?
What is difference between html and php?
Why use php artisan serve?
Is false empty php?
How do I display php errors?
How do you clear environment variables?
Is apache needed for php?
Why session is required?
How do you sort an array in php?
What is printf in php?
Why does sql injection happen?
How to remove leading and trailing spaces from user input values in php?
What is regular expression in php?