note 14097 added to function.odbc-exec.php
| From: | aalaap at nospam dot aalaap dot com | Date: | Tue, 17 Jul 2001 12:05:08 +0000 |
| Subject: | note 14097 added to function.odbc-exec.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15481@lists.php.net to get a copy of this message | ||
I'm trying to use PHP406 running on PWS on Windows 98SE, with an Access2000 DSN. odbc_connect
works fine, but when I try odbc_exec, it tells me "Warning: Supplied argument is not a valid
ODBC-Link resource".
My commands:
$db = odbc_connect("dsnname", "username", "password");
$result = odbc_exec("SELECT firstname FROM people;", $db);
I can't figure this out! Aargh! Help! And it doesn't just happen with Access - I had
problems with SQL Server 7.0 also :-( Help!!!!!!!
http://www.php.net/manual/en/function.odbc-exec.php