0
I created a table that receives some visitor information, ID, Useagent, Address and proxy.
I am making a chart type those pie (Chart pie) and would like to show the amount of visits of Y browsers and X of others.
Ex: the 3 most last 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 to search with WHERE LIKE, but for this I need to make a list of strings, there is another easier way, without modifying the DB ?
sem modificar a DB
is something we cannot guarantee, since you have not specified how they are being saved. You are recording directly withHTTP_USER_AGENT
?– Papa Charlie
Although I have already answered, what is the problem in using the Google Analytics integrated into Google Charts?
– Bruno Augusto