ID: 11705
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: ODBC related
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

interesting that the second line works.  you no longer need 
to pass $fields as a reference to this function.  this is 
an attempt for odbc to fall into line with the rest of the 
PHP functionality.  it was actually done in 4.0.5 but i'm 
thinking it was taken out due to the excessively long RC 
process... and i've since forgotten that change.  it's time 
for me to update the documentation... 

Previous Comments:
---------------------------------------------------------------------------

[2001-06-26 13:55:20] [EMAIL PROTECTED]
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);

Configure line:
./configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --with-apxs=/opt/apache/sbin/apxs
--enable-track-vars --enable-calendar --with-gdbm
--enable-filepro --enable-dbase --enable-ftp --with-imap
--with-java=/usr/java1.1 --with-ldap=/usr/src/openldap-1.2.9
--with-ibm-db2=/opt/IBMdb2/V7.1 --enable-trans-sid
--with-mysql --enable-sysvshm --enable-sysvsem
--with-mcal=/usr --with-ming --with-openssl --with-gd
--with-pdflib --with-jpeg-dir=/opt/sfw
--with-png-dir=/opt/sfw --with-zlib


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11705&edit=2


-- 
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]

Reply via email to