Refresh a PHP page for every predefined seconds

后端 未结 6 1135
一个人的身影
一个人的身影 2021-01-26 17:06

I would like to load/refresh a particular page for every 10 secs to view updated data\'s fetched from Database.

I used META for doing it

 

        
6条回答
  •  死守一世寂寞
    2021-01-26 17:36

    note that you can also use header() in PHP to accomplish what the meta tag is doing too. Just make sure you make the header() call before other output.

提交回复
热议问题