
04-21-2005, 11:00 AM
|
|
|
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Revan
Add a variable like so:
PHP Code:
$ignoreids = '4, 5, 6, 7, 8'; // or whatever your ignore ids is
change the SQL
Code:
WHERE `replycount` = '0' AND `forumid` NOT IN($ignoreids)
That should work OK. It is important that the variable has comma seperated values tho, else the SQL will complain.
You might want to try running the script right after applying the changes to test it, instead of not seeing the errors and thinking it runs OK 
|
Thaaan-Q!
|