title: Getting the nr. of rows in table
body: <p>I'm faced with a little problem, I want to count the total number of rows from a db table.
  I try this queries, but with no success:</p>
  
  <pre><code>$nr = mysql_query("select [TotalCount]=rows from $tablename where ID=object_ID('gyuruszam')");
  
  $nr = mysql_query("SELECT COUNT(gyuruszam) FROM $tablename");
  
  $nr = mysql_query("SELECT gyuruszam FROM $tablename, st.row_count");
  </code></pre>
  
  <p>Please help me out on this, thank you very much in advance!</p>