Quote:
Originally posted by Joe Page
How do you hide multiple forums? It came up with an errors when I tried....
|
Same as above which was:
Code:
$newsfades=$DB_site->query("SELECT threadid, title, postusername FROM thread WHERE forumid <> [forumid] ORDER BY threadid DESC LIMIT $ammount");
But instead do something like this:
Code:
$newsfades=$DB_site->query("SELECT threadid, title, postusername FROM thread WHERE forumid <> [forumid] AND forumid <> [forumid#2] ORDER BY threadid DESC LIMIT $ammount");
Replace [forumid] and [forumid#2] to the forum ID #s that you want to hide.