title: PHP Oracle oci_num_rows result 0
body: <p>I have a question about query in Oracle :</p>
  
  <p>The problem is, the result of <code>oci_num_rows</code> is always 0.</p>
  
  <p>and here is my code so far :</p>
  
  <pre><code>  $query = "SELECT IP_ADDRESS, STATUS FROM SEIAPPS_IP_ADDRESS WHERE IP_ADDRESS='$ip'";
    $result = oci_parse($c1, $query);
    oci_execute($result);
    echo $found = oci_num_rows($result);
  </code></pre>
  
  <p>To make it sure, I try to clear the condition <code>"WHERE IP_ADDRESS='$ip'"</code>. Still same with the result is  0 whereas in my table there are some data.</p>
  
  <p>Any advice ?</p>