I created a table that receives some visitor information, ID, UseAgent, Address, and proxy.
I'm doing a pie chart type and would like to show the amount of visits from Y browsers and X from others.
Ex: the 3 most used browsers and the fourth number would be "other".
I thought of several methods to do this, since there is a field called UseAgent that receives $ _SERVER ['HTTP_USER_AGENT'] I thought I would search with WHERE LIKE, but for that I need to make a list of strings, there is another way easier , without modifying the DB?