Thread
:
PHP / MySQL Help!
View Single Post
02-17-2004, 01:06 AM
SMG
Confirmed User
Join Date: Aug 2003
Posts: 1,798
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;
__________________
TGP Webmasters: sign up for the top 100 tgp list!
Submit galleries
If you add me to icq (title) make sure to mention GFY or I'll think you're a bot and deny you.
SMG
View Public Profile
Visit SMG's homepage!
Find More Posts by SMG