TaP
04-06-2002, 06:42 AM
ok say i got
// Top Threads starter
$toptstarter=$DB_site->query_first("SELECT COUNT(*) AS count,postuserid,postusername FROM thread GROUP BY postuserid ORDER BY count DESC LIMIT 1");
if i wanted it to read just a certain forum i would enter Where formid=(forums number)
but how would i make it read from multiple forums? like say form 1,2,3,4 and 5
i tried putting formid=1,2,3,4
but that gave me an error.... any help would be outstanding
// Top Threads starter
$toptstarter=$DB_site->query_first("SELECT COUNT(*) AS count,postuserid,postusername FROM thread GROUP BY postuserid ORDER BY count DESC LIMIT 1");
if i wanted it to read just a certain forum i would enter Where formid=(forums number)
but how would i make it read from multiple forums? like say form 1,2,3,4 and 5
i tried putting formid=1,2,3,4
but that gave me an error.... any help would be outstanding