MySQL Count Rows
Hello Everybody,
I think i'm looking around the right area but struggling and would really appreciate any help.
Basically, I'm want to count how many 'rows' I have in my DB table and then display that figure in the AdminCP like Total: $totalrows.
I also want to be able to put a SQL constraint in, for example count how many 'rows' for id=0.
Any help?
Thanks, Paul.
|