title: how to get the row number of a sql query statement in php
body: <p>I am trying to get the value of rows depending on the sql select statement and the criteria.</p>
  
  <p>Here is the code im using:</p>
  
  <pre><code>$fund = "SELECT COUNT(fundtid) from fund where fundtid='1'";
  $result = mysql_query($fund, $connection);
  if(!$result) {
  die(mysql_error());
  }
  $row = mysql_fetch_row($result); 
  
  print_r($row);
  </code></pre>
  
  <p>and it prints me this "Array ( [0] => 0 )" </p>