tango88
12-11-2006, 11:57 AM
Hi and I hope someone could help me here.
I have some flash games where the high scores are saved in a mySQL database via php. I was so happy when I finally got it to work.
Thing is, I'd like to reset it at the beginning of each month and I'm trying to figure out a way to do that.
My FTP program has a scheduler, but of course, my PC has to be on for it to work.
I thought of pulling a trick using the my_date.getUTCMonth(); script, but it reads the date from the user's machine, which may be totally wrong.
Or is there some kind of scheduler built into mySQL? I'm a real beginner when it comes to databasing! Anyone there that can help me?
I have some flash games where the high scores are saved in a mySQL database via php. I was so happy when I finally got it to work.
Thing is, I'd like to reset it at the beginning of each month and I'm trying to figure out a way to do that.
My FTP program has a scheduler, but of course, my PC has to be on for it to work.
I thought of pulling a trick using the my_date.getUTCMonth(); script, but it reads the date from the user's machine, which may be totally wrong.
Or is there some kind of scheduler built into mySQL? I'm a real beginner when it comes to databasing! Anyone there that can help me?