ID: 11669
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
Please add the smallest possible script which reproduces this behaviour to this
bugreport.
---------------------------------------------------------------------------
[2001-06-25 11:15:28] [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]