I've got a tricky little problem. What I want to do is run query that counts the total rows for each row with identical entries.
Within this same query I need to get the total number of rows, regardless of the entry.
Here's how it were to look if I were using two queries.
// first query
mysql_query("select COUNT(*) from members GROUP BY state");
// second query
mysql_query("select COUNT(*) from members");
//I would like to combine these two queries into one