The Arcive of vBulletin Modifications Site. |
|
reading 2 or more forums check this out Details »»
|
|||||||||||||||||||||||||
ok say i got
Code:
// 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");
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
close this please.... i figured this out
|
|
#3
|
||||
|
||||
|
Code:
WHERE forumid IN (1,2,3,4,5) Code:
WHERE forumid=1 OR forumid=2 OR forumid=3 OR forumid=4 OR forumid=5
|
![]() |
|
|