What would be the correct code to use if I'm trying to access an Access DB that is in the same directory as my PHP script?
The Following:
$connection = odbc_connect("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ='E:\users\ladams02\courses\cosc345\tts\data.mdb'", "USER", "PASS");
$sql = "select * from pokerTTS";
$res = odbc_exec($connection, $sql);
Returns:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x834 Thread 0x854 DBC 0xc529e4 Jet'., SQL state S1000 in SQLConnect in e:\users\ladams02\courses\cosc345\tts\ttsOutput.php on line 194
... among several other errors. Any ideas??