> From: René Moonen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 19, 2002 11:01 AM
  
> $result = mysql_query("SELECT COUNT(DISTINCT IP) AS ips FROM ma_counter");

You _might_ need to add "GROUP BY ip" (without quotes) to the end of that
query.

> Disclaimer: code not tested. You might want to check the MySQL manual 

Still not tested :-)

Regards
Joakim Andersson

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to