> Simple php time interval issue help please?

Simple php time interval issue help please?

Posted at: 2014-12-18 
Hi all,

I have a script which i want to refresh and reload after 10 seconds again and again , how can I do it using php?

You can do it using javascript as refresh will occur at client end and you need client side scripting.

You can use following function



I presume that you are programming a website with PHP on the server side and HTML/JavaScript on the client side.

If so, remember:

PHP is for use on the server side. You better use JavaScript or an automated reload in the header of your HTML file on the client side.

Hi all,

I have a script which i want to refresh and reload after 10 seconds again and again , how can I do it using php?