Monday, November 7, 2011

How do i make a PHP counter/timer thing. look for details.?

it is impossible to do this with PHP. PHP is a type of server-side scripting. it will ONLY execute on the server. while javascript is a client-side scripting which will execute on browsers dynamically. you can't expect server to count down for you. and so PHP is not designed for this in the first place. this is why javascript exists! if you really want to use a timer on PHP (to measure proccessing speed or such task). you should use microtime();

No comments:

Post a Comment