Using oci_execute

Using oci_execute

am 29.09.2008 20:05:47 von waltercmg

------=_Part_37076_27430274.1222711547831
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

Im using the oracle instant client basic in my php app, with apache server.
When a query returns few rows, there is no problem.
Otherwise, the oci_execute method doesn return any records neither errors!
How can i solve this problem??

My implementation:

function executarSQL($conn, $stmt, $consulta){
echo "

Execute...";

$r = oci_execute($stmt);

if (!$r) {
$erro = oci_error($stmt);
trataErroSQL($conn, $consulta, $erro, "execute");
}
echo "

Fim do Execute...";
return $r;
}

------=_Part_37076_27430274.1222711547831--