MN Forum
Retrieve the total of the users for each countries - Printable Version

+- MN Forum (http://forum.mn-shop.com)
+-- Forum: Products (http://forum.mn-shop.com/forum-products.html)
+--- Forum: Ask a Question (http://forum.mn-shop.com/forum-ask-a-question.html)
+--- Thread: Retrieve the total of the users for each countries (/thread-retrieve-the-total-of-the-users-for-each-countries.html)



Retrieve the total of the users for each countries - graphic - 06-27-2016

I want write by an function the total of the users for the regions in this mode for example:

['Country', 'Total of users'],
['Germany', 200],
['United States', 300],
['Brazil', 400],
['Canada', 500],
['France', 600],
['RU', 700]

There is a possibility to retrieve the total of the users registered divided for countries from mysql data? Thanks for assistance Huh