Categories > TinyButStrong general >

help me

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: thuc
Date: 2006-02-12
Time: 08:52

help me

Hello every body;
How can kwnow this?

$conn = NewADOConnection('access');
$conn->Connect('db_name');

in artcle

http://www.tinybutstrong.com/forum.php?msg_id=549

Thank you very much..
By: Skrol29
Date: 2006-02-12
Time: 11:58

Re: help me

Hi,

The John Lim ADOdb class needs a Windows DSN for the connection.
Example:
$conn = NewADOConnection('access');
$dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=c:\\test.mdb;Uid=;Pwd=;";
$conn->Connect($dsn);

This should be enougth to make your connection, but you'll find more details in the manual of John Lim ADOdb.