PDA

View Full Version : whats wrong with this code?


TaP
04-26-2002, 05:03 AM
$topreply=$DB_site->query_first("SELECT COUNT(*) AS postuserid,postusername,replycount FROM thread WHERE forumid IN (17,18,19,20,44) GROUP BY postusername ORDER BY replycount DESC LIMIT 1");

whast wrong with that? i want it to display who replied the most in those sections

Neo
04-26-2002, 07:50 AM
Ummm maybe IN to IS

TaP
04-26-2002, 08:41 PM
hmm no thats not it:( its just not counting right