Re: PHP,PEAR DB numRows Hack for Oracle Not Working




Hello all,

-Closed-


After installing some PHP editors ,(ZEND,PHPEdit etc)
numRow function in Oracle started working.


And also, I changed the OCI8.php as per the direction from
Michal (kori at atlas dot cz) -PEAR DB: Release: 1.7.6


The following 2 line are added to oci8.php of numRows funcation.


**********part of numRows function**********************
return $this->raiseError(DB_ERROR_NOT_CAPABLE);
}


// ----- THERE SHOULD BE THESE 2 LINES OF CODE


$this->last_query = $save_query;
$this->last_stmt = $save_stmt;


// ------------------


return $row[0];
********************************************************************


Thanks for all

.



Relevant Pages