heyy... i need to knw how to update some table value to default value automatically after some period of time. assume that user update table value to "false" today. then it will be update to its default value "true" to tommorow by automatically. please help...

If it is specific to each user, then you need a database and a record for each user where you can keep the last status and maybe the last status date if that matters. If you don't have access to MySQL or some other DB you could do it with a file but it would only be usable for a relatively small number of users since you will have to read and write the whole file every time you check or update it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.