I have a question about query in Oracle :
The problem is, the result of oci_num_rows is always 0.
oci_num_rows
and here is my code so far :
$qu
Use this:
$query = "SELECT IP_ADDRESS, STATUS FROM SEIAPPS_IP_ADDRESS WHERE IP_ADDRESS='$ip'"; $result = oci_parse($c1, $query); oci_execute($result); $numrows = oci_fetch_all($result, $res); echo $numrows." Rows";