title: mysql_num_rows replacement to recommend?
body: <p>I read that mysql_num_rows is deprecated as of PHP 5.5.0, and will be removed in the future. So what is best replacement by your opinion?</p>
  
  <pre><code>$KatalogVrstaID = $redak_katalog['KatalogVrstaID'];
  $rezultat_podvrsta=mysql_query("SELECT * FROM katalog_podvrsta WHERE KatalogPodvrstaVrsta='$KatalogVrstaID' ORDER BY KatalogPodvrstaID ASC");
  if (mysql_num_rows($rezultat_podvrsta)==0){ ?&gt;  
  </code></pre>