forumnz Posted January 18, 2009 Share Posted January 18, 2009 Please help me I have 2 questions: 1) How can I have a number continuously decreased in value every "value" seconds which is stored in a MySQL database. Would I use a cron job? Another way? 2) How can I display the number in a PHP document as continuously being reduced (like, live) If you can answer either of these questions then thats appreciated. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/141276-countdown-question/ Share on other sites More sharing options...
.josh Posted January 18, 2009 Share Posted January 18, 2009 You can't do it with php alone. You can retrieve the number from your db and pass it to javascript and javascript can do the 'live' countdown. Quote Link to comment https://forums.phpfreaks.com/topic/141276-countdown-question/#findComment-739447 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.