I have a table with customer info. I have the following query that returns the number of customers in each state:
SELECT state, count( * )
FROM 2004bih
GROUP BY state
ORDER BY count( * ) DESC LIMIT 0 , 30
Not sure what PHP code I need to use to output into a table like:
VT 90
MA 85
CT 43
NY 34
AZ 22
AK 2
Any help would be appreciated!
Thanks,
Christian