Count the number of times a category is chosen by customers!

0

I have a table with the categories, and each customer that registers can choose up to 10 corresponding categories that corresponds to his work!

These categories in the customer table are saved ID's, I need each category to show in front of them the number of times it was marked

Example:

Food (15) Write a Review Write a Review Kitchen (20)

The categories table and so

Andthecustomertableiswrittenthisway

    
asked by anonymous 25.06.2018 / 16:34

0 answers