Click here to Skip to main content
15,904,023 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need a help for this error :Resulting from this code

$this->Record = array();
//echo "QUery ID : $this->Query_ID";
$stat = odbc_fetch_into($this->Query_ID, ++$this->Row, &$this->Record);
Posted

1 solution

The PHP manual (version 5.2) says:
int odbc_fetch_into ( resource $result_id , array &$result_array [, int $rownumber ] )

Are your parameters out of order? Note that the order of the parameters changed in PHP version 4.2.0. If your PHP is newer than that (and it probably is) then the old parameter order won't work. Your code may be copied from something older.

Cheers,
Peter
If this solves your problem, accept it. Vote anyway.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900