Quote:
Originally posted by filburt1
Add this to the query:
[sql]
...AND forumid != forumid1AND forumid != forumid2
[/sql]
|
Thanks for answering!
Can you please be more specific?
Must I add this to the query:
AND forumid != forumid1 AND forumid != forumid2
Where 1 and 2 must be the forumid's wich are going to be excluded?
Where in the query must I add this?
$getnewthread=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE lastpost > '$bbuserinfo[lastvisit]'");
Thank you!