Fenhopi Posted January 24, 2011 Share Posted January 24, 2011 Hi, I'm running a PHP script that displays a countdown. But I need something that updates that script every second, so that it actually looks like a countdown. Any ideas how to do this? I'm new to Javascript. Quote Link to comment https://forums.phpfreaks.com/topic/225572-update-a-part-of-a-page/ Share on other sites More sharing options...
JonnoTheDev Posted January 24, 2011 Share Posted January 24, 2011 Do some research on using AJAX. This will allow you to call the php script via Javascript every second using setTimeout() Quote Link to comment https://forums.phpfreaks.com/topic/225572-update-a-part-of-a-page/#findComment-1164767 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.