|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-15 19:46 UTC] jogo_2 at yahoo dot com
[2005-03-18 19:26 UTC] sniper@php.net
[2005-03-25 01:47 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 17:00:01 2025 UTC |
Description: ------------ I'm using IIS from Windows XP and PHP 5.0.3 This code: $cx = odbc_connect("BDNEO", "", ""); returns this error: Warning: odbc_connect() [function.odbc-connect]: SQL error: , SQL state 00000 in SQLConnect in D:\tr\webroot\neoturismo\prueba3.php on line 8 All my file permissions are right and there's no user or password. I tried User DSN and System DSN, both with the same result What am i doing wrong? Reproduce code: --------------- <html> <head> </head> <body> </body> <h1>Prueba de BD</h1> <?php $cx = odbc_connect("BDNEO", "", ""); odbc_close($cx); ?> </html> Expected result: ---------------- Connect to ODBC Actual result: -------------- Warning: odbc_connect() [function.odbc-connect]: SQL error: , SQL state 00000 in SQLConnect in D:\tr\webroot\neoturismo\prueba3.php on line 8