PDA

View Full Version : Running a query


Celtic_Mad
06-26-2006, 11:12 AM
How would I go about making the following query run every 20 minutes:

UPDATE thread SET forumid='50' WHERE visible='2';

Thanks.

Celtic_Mad
06-28-2006, 09:42 AM
anyone?

Marco van Herwaarden
06-28-2006, 02:13 PM
You would need to creat a new php-script and run that from the Scheduled Tasks.

Celtic_Mad
06-29-2006, 02:24 PM
What should the code be?