[PHP] Re: How can I add records to database every 60 minutes???

2003-07-30 Thread erythros
even when youre not online? is the database online or local? another question is how is the game played in php? i take it scripts are being called over and over right? if so then add a time function to one of those scripts. when gameplay starts load the time to mysql (or a file) and then

Re: [PHP] Re: How can I add records to database every 60 minutes???

2003-07-30 Thread skate
i take it scripts are being called over and over right? if so then add a time function to one of those scripts. when gameplay starts load the time to mysql (or a file) and then everytime the script is run check the time to see if the time has exceeded 60 minuets, if it has run you php

Re: [PHP] Re: How can I add records to database every 60 minutes???

2003-07-30 Thread erythros
yea... if no one hits the website for hours then only a few updates will occur. you could however write a very small javascript to call on a php script every hour. Skate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i take it scripts are being called over and over right? if so