Quote:
|
Originally Posted by NeverMind
how about :
you are aware that GROUP BY will not make the COUNT() count all records but instead it will group them by ip_address and returns them in sets?
if you want the whole number of records, remove the GROUP By clause.
|
I tried that new code, I get the samer error message, except it points to the line with $members = mysql_result($fetch , 'Num');
BTW, I do want it to group the results so the script doesn't count the same IP as different people. This gives more accurate user online figures.