hi,
i can retrieved all data count number group by specific column but the list are huge and i would like to retrieve and show only the group highest count number > 0. i tried to add ' FROM uniquelog where by useragent > 0' but the result were all nil. Could someone shows me the right path
Thanks
$data = mysql_query("SELECT DISTINCT useragent, round(count(useragent)/$num_rows * 100,2) as numscene FROM uniquelog WHERE useragent IS NOT NULL AND useragent!= '' GROUP By useragent")
or die(mysql_error());