PHP Tutorial : Function To Refresh a Page


This php function uses the html meta tag and its refresh attribute. I use it because I can easily estabilish how many seconds to wait before refreshing the page : nice, isn’t it?

There is already a php function which refreshes a page, but there isn’t a way to pass the number of seconds needed before refreshes, it’s just refreshes the page when the php engine goes to the line of code.

Here is the function :

Tagged with: , ,
Posted in Short PHP Functions

Leave a Reply

Your email address will not be published. Required fields are marked *