I am trying to connect to an Access database and I am receiving the msg above. At this time, you may be thinking "That's easy. This moron did not create a System DSN...". I wish that was the reason!
Well, I have a System DSN called "sisco" on my W2K web server. In my php program, I have the following code:
...
$cnx = odbc_connect('sisco','Admin','cmonbaby');
//query string
$SQL_Exec_String = "select * from AnyTable";
//query execution
$cur= odbc_exec( $cnx, $SQL_Exec_String );
...
But this simple script always gives me the same result. I have tried to access other databases via ODBC, including MSSQL, receiving the same message in all tests.
Any ideas?
Txs
Bif@
"Try to make the best even better"
Well, I have a System DSN called "sisco" on my W2K web server. In my php program, I have the following code:
...
$cnx = odbc_connect('sisco','Admin','cmonbaby');
//query string
$SQL_Exec_String = "select * from AnyTable";
//query execution
$cur= odbc_exec( $cnx, $SQL_Exec_String );
...
But this simple script always gives me the same result. I have tried to access other databases via ODBC, including MSSQL, receiving the same message in all tests.
Any ideas?
Txs
Bif@
"Try to make the best even better"