Running into a problem with a mysql select statement - my head says this should work - but apparently something with group by has changed -- or I'm just wrong.
$sql = "select COUNT(statsid), pagehere from " . $tableprefix . "stats group by pagehere order by COUNT(statsid) desc";
Any suggestion on a fix..........
$sql = "select COUNT(statsid), pagehere from " . $tableprefix . "stats group by pagehere order by COUNT(statsid) desc";
Any suggestion on a fix..........