Getting total number of registered users : <p>In my app I have login/registration system and need to count the total number of registered users. For example I have 2 registered users.</p>

<pre><code>----------------------------------------------------
|id|    email      |use_name|user_pass|confirm_pass|
----------------------------------------------------
|7 | theo@gmail.com|  theo  | my pass |   my pass  |
----------------------------------------------------
|8 | test@gmail.com|  test  | my pass |   my pass  |
----------------------------------------------------
</code></pre>

<p>The is a function in mysql called SUM,but it adds ints.In my case though the id is incrementing from the last deleted user. </p>

<p>Thanks,</p>

<p>Theo.</p>
