codrgii Posted April 11, 2011 Share Posted April 11, 2011 How am i able to setup a countdown timer? I use the time(); function and want to compare that time with another time that is 8 hours ahead to form a countdown timer, how am i able to do this using php? Quote Link to comment Share on other sites More sharing options...
php.ajax.coder Posted April 11, 2011 Share Posted April 11, 2011 I don't believe this is possible in php alone you'll need to use javascript or use a combination to reload the page or call a script (AJAX) at regular intervals thereby effectively giving you the count down effect. Quote Link to comment Share on other sites More sharing options...
codrgii Posted April 11, 2011 Author Share Posted April 11, 2011 Well then how would i be able to show what the date is in text form using the time() function? Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted April 12, 2011 Share Posted April 12, 2011 date Quote Link to comment 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.