How to make a countdown using PHP

If your need your counter to be displayed only on page refresh and be static once the page is loaded, then PHP will be fine. If you need the countdown to get refreshed when the page is displayed, you’ll need to use JavaScript. Personally I would go for something already implemented, like that small script.