MyBB Community Forums

Full Version: How to Call More Than One FID
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was a little confused to call more than 1 forum in PHP files
whether this was

    $query = $db->query("
    SELECT * 
    FROM ".TABLE_PREFIX."threads 
    WHERE fid='78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102' 
    ORDER BY `tid` 
    DESC LIMIT 10");

but it does not work, only 78 were called FID
is there anything that can help me
fid IN(1,2,3,4,5,6,7,8)
Thanks Big Grin