PHP:I want to run a function every 30sec's without using a for loop
<p>php has header('refresh:30')</p>

<p>When i'm getting data from a form via post,the array resets on refresh(when i use header-refresh)</p>

<p>I was looking for a setTimeOut(in javascript) sorta tool in php or a way to persist a variable got from the user(form data) even after a refresh.</p>

<p>-- Php Beginner</p>
