02-17-2004, 01:10 AM
|
|
|
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,205
|
Quote:
Originally posted by SMG
its faster if you just do it with the mysql using the distinct keyword
$query = "SELECT DISTINCT abrv, count(*) AS total FROM bgusers WHERE uid=$uid" GROUP BY abrv;
|
pfft
|
|
|