Bug #11669 Updated: Wrong error code using odbc_fetch_into
| From: | kalowsky@php.net | Date: | Tue, 26 Jun 2001 21:55:27 +0000 |
| Subject: | Bug #11669 Updated: Wrong error code using odbc_fetch_into | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58110@lists.php.net to get a copy of this message | ||
ID: 11669
Updated by: kalowsky
Reported By: S.Dreyer@celleweb.de
Old-Status: Open
Status: Closed
Bug Type: ODBC related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
as of PHP 4 we're (PHP group) trying to end using
variables. this was changed in 4.0.5, but I guess got
moved out due to its rather LONG RC cycle. sorry about
that.
you no longer need to use a reference for this function
though. guess it's time to update the documentation too.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-26 04:30:10] S.Dreyer@celleweb.de
$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
}
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11669&edit=2