setTimeout('window.location.reload()', 1);");. The page will automatically refresh when the browser is running"/> setTimeout('window.location.reload()', 1);");. The page will automatically refresh when the browser is running">

Home>Article>Backend Development> How to automatically refresh the page in php

How to automatically refresh the page in php

(*-*)浩
(*-*)浩 Original
2019-09-19 10:50:47 134703browse

How to automatically refresh the page in php

First, open the php editor and create a new php file, for example: index.php.(Recommended learning:PHP programming from entry to proficiency)

How to automatically refresh the page in php

In index.php, enter the code: echo (" ");.

How to automatically refresh the page in php

The browser runs the index.php page, and it is found that the page will automatically refresh.

How to automatically refresh the page in php

Code:

"; // echo (""); ?>

The above is the detailed content of How to automatically refresh the page in php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn