Hmmm.... Got this as the result on my test forum
Quote:
Fatal error: Call to undefined function: query_write() in /home/vbscott/public_html/forums/update_fs_displaygroupid.php on line 5
|
using the file exactly as shown in my previous post. I am sure I am missing something really obvious... I have a disturbing knack for that
Ahhh.... as always...
There was no "-" after the $db in the line I cut/pasted from your post, hehe.
I should have looked closer. Anyway, I added it and the script seems to work perfectly. Thanks!
If I want to add this to my Scheduled Task Manager and place the script in the /includes/cron directory, can I leave out the this line:
require_once('./global.php');
since it is already in the cron.php file?