Jump to content

php timer


wishes4u

Recommended Posts

I'd suggest using a form and keep using the same time as a $_POST value.

On the first page create the time and show it or keep it hidden, either way, and put it in a form. When the user submits the form to continue to the next page have another form on the next page catch that same time.
Something like:
[code]<input name="time" type="text" value="<?= $_POST['time']; ?>">[/code]

Would do on each page.
Link to comment
https://forums.phpfreaks.com/topic/14075-php-timer/#findComment-55031
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.