Using oci_execute...

From: Date: Mon, 29 Sep 2008 17:56:55 +0000
Subject: Using oci_execute...
Groups: php.general 
Request: Send a blank email to php-general+get-281122@lists.php.net to get a copy of this message
Hi, Im using the oracle instant client basic in my php app. 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 "<br><br>Execute..."; $r = oci_execute($stmt); if (!$r) { $erro = oci_error($stmt); trataErroSQL($conn, $consulta, $erro, "execute"); } echo "<br><br>Fim do Execute..."; return $r; }

« previous php.general (#281122) next »