How to assign a looping to the code - PHP

0

I need my code to 'reload' every 5 min. How ?!

My code it: Opens a dashboard, inside it has 2 includes. One to access a website and download 3 CSV files and another one that accesses these CSV files, takes the values, multiplies and prints the value on the screen.

I need it to repeat this same process every 5min, ie looping.

    
asked by anonymous 22.08.2017 / 14:42

1 answer

3

You do not need PHP, actually. You can add this code in your header, which will force the page to reload every 300 seconds (5 minutes):

 <meta http-equiv="refresh" content="300" />
    
22.08.2017 / 14:58