on my mysql database I have a feild called userlevel
in this feild there can be
user
team
admin
various random activation codes
How can I count and display all of these?
eg:
echo $total_admin
echo $total_team
echo $total_user
echo $total_other
also whats the command to show total number of rows?
If you can explain how I do a count I suppose I could total all the main 3 and take it from the number of rows to get $total_other