Bug #11669 Updated: Wrong error code using odbc_fetch_into
| From: | S dot Dreyer at celleweb dot de | Date: | Tue, 26 Jun 2001 08:30:10 +0000 |
| Subject: | Bug #11669 Updated: Wrong error code using odbc_fetch_into | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58001@lists.php.net to get a copy of this message | ||
ID: 11669
User Update by: S.Dreyer@celleweb.de
Old-Status: Feedback
Status: Open
Bug Type: ODBC related
Operating system: Linux
PHP Version: 4.0.6
Description: Wrong error code using odbc_fetch_into
$sql="select RSVUKZ,RSVERKB,RSVERKN from $db2_dsn.$db2_database.$db2_akz where
$oid=odbc_exec($dbid,$sql);
for ($i=0;$i<$num_rows;$i++) {
odbc_fetch_into($oid,$i+1,&$erg);
^
+--- Error
}
Previous Comments:
---------------------------------------------------------------------------
[2001-06-26 02:52:00] derick@php.net
Please add the smallest possible script which reproduces this behaviour to this bugreport.
---------------------------------------------------------------------------
[2001-06-25 11:15:28] S.Dreyer@celleweb.de
Hello,
i tried php-4.0.6 and the following bug accured:
Fatal error: Only variables can be passed by reference in
/usr/local/httpd/htdocs/kennzeichensuche.php on line 98
The code is correct and works with 4.0.4pl1 and 4.0.5
thanks
Stefan Dreyer
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11669