NYCPHP Meetup

NYPHP.org

[nycphp-talk] how to connect to an Access db *.mdb with a DSN and without a DSN.

Kristina D. H. Anderson ka at kacomputerconsulting.com
Mon Aug 24 13:54:07 EDT 2009


This is specific to PHP on Windows, or...?  

Kristina

> Hi Mangesh:
> 
> PHP connects to Access databases via the odbc_connect() function.  
The 
> $dsn parameter is the (simple, human readable) "Data Source Name" 
you've 
> assigned to the resource in Windows' ODBC Data Source Administrator.
> 
> Try making a simple test script that uses odbc_connect().  Once you 
get 
> that working, then try to bring ADODB into the mix.
> 
> --Dan
> 
> -- 
>  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>             data intensive web and database programming
>                 http://www.AnalysisAndSolutions.com/
>  4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> http://www.nyphp.org/show_participation.php
> 
> 






More information about the talk mailing list