php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16267 odbc_fetch_into
Submitted: 2002-03-25 14:13 UTC Modified: 2002-03-25 14:18 UTC
From: slavikkr at yandex dot ru Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.1.1 OS: Windows 98
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: slavikkr at yandex dot ru
New email:
PHP Version: OS:

 

 [2002-03-25 14:13 UTC] slavikkr at yandex dot ru
When I try to use function odbc_fetch_into() in this way:

$r=odbc_fetch_into($rid, 1, $result);

I see bug report: "Only variables can be passed by reference..."

This works:
$g=1;
$r=odbc_fetch_into($rid, $g, $result);

When I worked with previous version of PHP (4.0.6) this script worked correctly.
Please help me.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-25 14:18 UTC] derick@php.net
This is fixed in CVS. Please try the binary from www.php.net/~derick . Please note that the functiobn is different too now:
int odbc_fetch_into ( int result_id, array result_array [, int rownumber])

regards,
Derick
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Feb 06 09:00:02 2026 UTC