note 13647 added to function.odbc-fetch-into.php
| From: | doc at vulcanmicro dot com | Date: | Tue, 26 Jun 2001 17:47:11 +0000 |
| Subject: | note 13647 added to function.odbc-fetch-into.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14671@lists.php.net to get a copy of this message | ||
Going from php 4.0.5 to php 4.0.6, the following syntax nolonger works:
odbc_fetch_into($result,$start-1,&$fields);
In 4.0.5 it works, in 4.0.6 it produces this error:
Only variables can be passed by reference
The following lines DO work however:
$tmp=$start-1;
odbc_fetch_into($result,$tmp,&$fields);
http://www.php.net/manual/en/function.odbc-fetch-into.php