Re: [PHP-WIN] problems in connecting Access database

2001-11-27 Thread Piotr Pluciennik
Hi, have you defined correct DSN name? Is "test" a name of your database file (e.g. test.mdb) or a name of the DSN source in ODBC? What kind of DSN are you using? $conn = odbc_connect( 'test' , ' ', ' ' ); In this example - "test" should be a name of DSN source of ODBC driver. It is working - f

RE: [PHP-WIN] problems in connecting Access database

2001-11-26 Thread Erik H. Mathy
Hi Mihai! > $conn = odbc_connect( 'test' , ' ', ' ' ); > > where test is the name of that database, then the output is smth. like > > Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not > found and no default driver specified, SQL state IM002 in SQLConnect in > c:\inetpub\