Re: question in ADODB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I found the following code on the internet. I'd like to know that what I
> need to do, if I want to use the actually Access file with out the DSN,
how
> to use the Microsoft Jet?
> thx
>
> ---------------------- code --------------------------------
>  include("adodb.inc.php");
>  $db = NewADOConnection('mysql');

Look at the adodb manual : http://php.weblogs.com/adodb_manual
$db = NewADOConnection('access');
(Microsoft Access/Jet. You need to create an ODBC DSN)
or
$db = NewADOConnection('ado_access');
(Microsoft Access/Jet using ADO. Allows DSN-less connections. For best
performance, use an OLEDB provider.)

Regards,
Philippe



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux