Auto Refresh in PHP Script?

Using the below script, you can auto refresh the output of your PHP script in a browser. Place the code on the first line of your PHP script.

Here 10 is the value in seconds, in the code above, your PHP page will refresh every 10sec regardless if there are changes in the data or none.

Syntax:

Here ADDRESS is optional, if you omit the address it will refresh its self, if address is present it will redirect to the destination URL or destination page

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
DMCA.com Protection Status
0
Would love your thoughts, please comment.x
()
x