#21247 [Opn->Bgs]: odbc_fetch_object not defined
| From: | kalowsky@php.net | Date: | Sat, 28 Dec 2002 17:01:53 +0000 |
| Subject: | #21247 [Opn->Bgs]: odbc_fetch_object not defined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28599@lists.php.net to get a copy of this message | ||
ID: 21247
Updated by: kalowsky@php.net
Reported By: charlesk@netgaintechnology.com
-Status: Open
+Status: Bogus
Bug Type: ODBC related
Operating System: Windows 2000 Server
PHP Version: 4.3.0
New Comment:
It's not really a bug. The problem is odbc_fetch_object is (at this
time) only supported through the DBMAKER database. I have insufficent
time and resources to test against all DBs and as such it is #defined
out.
Theoretically it should work with your Win2k Server, and you can test
this by removing the #defines from the odbc_fetch_object call. If it
works, I'd be more than happy to integrate the change into further
releases. As it stands though I have no firm proof that it does.
Previous Comments:
------------------------------------------------------------------------
[2002-12-28 10:05:28] charlesk@netgaintechnology.com
I am getting this error
PHP Fatal error: Call to undefined function: odbc_fetch_object()
The documentation says it is available in (PHP 4 >= 4.0.2)
This is the line of code
$row = odbc_fetch_object($sql_result,$i);
Was this missed?
Charles Killmer
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21247&edit=1