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. 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() 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
Archived
This topic is now archived and is closed to further replies.