note 14097 rejected and deleted from function.odbc-exec.php by zak

From: Date: Tue, 17 Jul 2001 12:09:49 +0000
Subject: note 14097 rejected and deleted from function.odbc-exec.php by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-15482@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!!!!!!!

« previous php.notes (#15482) next »