joyser Posted February 23, 2009 Share Posted February 23, 2009 using phpmyadmin.. is it possible to set a field to count down, once a day...for example you set a field to 28 and each day at midnight, it goes down one? what do i do to get this effect? Link to comment https://forums.phpfreaks.com/topic/146463-data-base-noobie-question/ Share on other sites More sharing options...
Lodius2000 Posted February 23, 2009 Share Posted February 23, 2009 its called cron, you make a php script that decrements your value and then run it through cron //google cron, you will get tons of info Link to comment https://forums.phpfreaks.com/topic/146463-data-base-noobie-question/#findComment-768905 Share on other sites More sharing options...
joyser Posted February 23, 2009 Author Share Posted February 23, 2009 is their a simplier way? this involves unix etc. Link to comment https://forums.phpfreaks.com/topic/146463-data-base-noobie-question/#findComment-768911 Share on other sites More sharing options...
Lodius2000 Posted February 23, 2009 Share Posted February 23, 2009 are you on your own box, or are you hosted, if so are you on linux... if so then you probably have a neat little cron job manager, and its not hard at all if you do Link to comment https://forums.phpfreaks.com/topic/146463-data-base-noobie-question/#findComment-768917 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.