...

View Full Version : Time resetting a table.



Celestial
09-30-2011, 02:18 PM
I was just wondering how it would be possible to collect a table of data such as if someone pressed a button and the table data updates to '1' from '0' for each user who pressed it. Then every 24 hours it would all return to '0' for them to do it again.
Any help is appreciated. :rolleyes: Thanks.

sunfighter
09-30-2011, 06:32 PM
You probably have a DB table that contains user information. Add a column to that for the button press. You can then query the table for your info, you can also return the status of this column at that time or later using a cron job set to repeat every 24 hours.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum