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 session in php w3schools?
How we can get the number of elements in an array?
What is the use of the function htmlentities?
Tell me what are magic methods?
What is warning – “cannot modify header information – headers already sent”?
Explain the difference between unlink() and unset()?
What is a class in php programing?
Tell me what does $_env means?
What is a definer in mysql?
Do you know how to enable error reporting in php?
What does $_cookie mean?
Which of the data type is compound datatype supported by PHP?
What is overloading in php?
What is php dependency injection?
Is null or empty c#?