Please Help....
| From: | Jeff Pearson | Date: | Tue, 06 Mar 2001 23:04:08 +0000 |
| Subject: | Please Help.... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42821@lists.php.net to get a copy of this message | ||
Warning: SQL error: [Microsoft][ODBC Driver Manager] Invalid string or
buffer length, SQL state S1090 in SQLConnect in
z:\webspace\1001010\tijerascanyonward.org\www\default.php on line 30
Couldn't make a connection!
I have a MS Access db setup as a DSN on a web server running NT and PHP.
When I try to connect with the following code(obviously the *'s in the code
are the real information), I get the above error message. Any help would be
GREATLY appreciated if anyone could help me figure out why......
$connection =
odbc_connect("DSN=*******;UID=*********;PWD=*********","","");
if (!$connection) {
echo "Couldn't make a connection!";
exit;
}
Thanks againg for any help that can be offered.
Jeff Pearson