PHP Code:
// edit the forum id number where the threads have to be moved TO
$toforumi="161";
$DB_site->query("
UPDATE " . TABLE_PREFIX . "thread
SET forumid = $toforumai
Where lastpost <= $movedate
AND forumid = $fromforumai
");
$toforumai is not defined.
PS:
OMG This is the worst script i have ever seen. Do you realize you could also have done this in a 6-line loop?
No offence ment, not trying to put you down, but this really brought a smile on my face. (and a headache looking for the wrong spelled var)