Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is cakephp framework?

1009


How do I expire a php session after 30 minutes?

1017


What is difference between php and wordpress?

1068


What is $_ get and $_ post in php?

1022


How to initiate a session in php?

1161


What is the difference between require_once and require in php?

1045


Is null in php?

900


Which php global variable is used for uploading a file?

987


Define urlencode() and urldecode() used in php?

1144


How can you associate a variable with a session?

984


What is the default session time in php?

978


Which are the best start and end tags to use?

967


How does php sessions work?

902


What is difference between print_r and echo in php?

860


Explain what does the unlink() function means?

1044