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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to