ID:               32321
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jogo_2 at yahoo dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         ODBC related
 Operating System: Windows XP
 PHP Version:      5.0.3
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2005-03-18 19:26:29] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

[2005-03-15 19:46:57] jogo_2 at yahoo dot com

I also have installed mdac 2.8

------------------------------------------------------------------------

[2005-03-15 19:42:16] jogo_2 at yahoo dot com

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32321&edit=1

Reply via email to