C hen we need to refresh our website automatically every so often, the first thing that comes to mind is to use a function in JavaScript, but we also know that we can do with PHP code.
PHP page is very simple, so we see it directly:
$ self = $ _SERVER ['PHP_SELF'] / / Get the page that we header ("Refresh: 300; url = $ self ") / / refresh every 300 seconds Note:
300 seconds = 5 minutes (so you see more clearly).
0 comments:
Post a Comment