I have a DATETIME date in a mysql field, and i'd like the simplest timer displayed on my PHP page counting down to that. The timer will never be over a few minutes.
I'm guessing some kind of javascript php hybrid is needed?
Eg "40 secs left"
Note: I know nothing about javascript, but half decent at PHP.
you can use jQuery Countdown for that, so you just need to provide a date in correct format described there
Take a look at Keith Woord's jQuery Countdown plugin. It is very easy to use and you can pass it your DATETIME on page load via PHP echo / print.
I hope this helps!
EDIT:
To implement this solution you could do the following: