Jump to content

Sort and Count Array from MYSql


dareid5

Recommended Posts

I have a db that holds user entries in a poll.  They select their favorite city.  Doing so enters the city and state associated with that state.

I would like to count each ‘vote’ for a city and list by state then show the highest rated cities.

My problem right now is I’m not able to pull the data for the db and create an array that I can use to view it.

Any help would be appreciated.

Thanks,

Dave
Link to comment
https://forums.phpfreaks.com/topic/23844-sort-and-count-array-from-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.