odbc_exec() problem
| From: | donny Hsu | Date: | Fri, 22 Oct 1999 22:08:01 +0000 |
| Subject: | odbc_exec() problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11840@lists.php.net to get a copy of this message | ||
I'm developing under Windows NT with PHP3.
I've defined a DSN in the ODBC Data Sources (called Test).
In my .php3 file I execute:
<?php
// connect to Access database
$conn = odbc_connect( "Test", "", "" );
// $conn does not result in error
// query
odbc_exec($conn, "SELECT * FROM Table" );
?>
-----------------
An error occurs at odbc_exec():
"Warning: SQL error: [Microsoft][ODBC Driver Manager] Driver does not
support this function, SQL state IM001 in SQLSetStmtOption..."
What's wrong?
donny Hsu
dhsu@semantix.com