Well I tried to edit the above thread 10 times but it never would change so here we go again:
Quote:
Originally posted by The_Sisko
How can I exclude more then one forum?
Just use:
$query = "SELECT * FROM thread WHERE replycount < 1 AND forumid <> 21 22 23 ORDER BY dateline DESC LIMIT $maxthreads";
Forum ID 21 22 23 or how do I do it?
Another Problem:
Got some old topics in the list! But they are allready deleted? Why do the y show up an d how kann I delete them?
http://std.krawall.de/vbb/dead.php
[Edited by The_Sisko on 08-22-2000 at 06:45 PM]
|
Code:
[B]$query = "SELECT * FROM thread WHERE replycount < 1 AND forumid <> 21 AND forumid <> 22 AND forumid <> 23 ORDER BY dateline DESC LIMIT $maxthreads";
Your other problem you are having is (im guessing) a problem with your database. It only selects records that exist in the database so if you deleted it then their would be no way that it would appear (because it querys the db each time and is always up to date)
Maybe someone else can shine some light on this problem?
~Chris