Hi, > I have this database with this fields; id and > number_attacks. And every 10 minutes > number_attack to be increased by 1.
You'll need to set up some sort of scheduled task (if you're on unix, your best bet is probably cron) - this task should call a script that connects to your database and updates the field. If you like, you can write the script in PHP and use something like lynx or wget to access it. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php