OOpsie, Thanks for the reply! I thought I had copied the whole script, but guess not, lol.. I run my own server, so I can luckily configure everything needed for debugging. I should mention this is for vB2.3.5 - Here's what my entire script looks like.. :classic:
PHP Code:
<?php
require("./global.php");
$DB_site->query("UPDATE thread
SET open = 0
WHERE dateline < ".(TIMENOW - (60 * 60 * 24 * 364))."
AND forumid IN (3,4,5)
");
?>