Two refresh being one with redirection

0

So, guys, I needed the page to refresh, being a second with redirection.

In case mine is like this:

echo '<meta http-equiv="refresh" content="1;listaclientes.php">'; 
So far so good, I edit the registry and then it redirects to the listing, but I wanted it to give it a first refresh of 1 second and stay on the same edit page, and 3 seconds later it redirects to the listing. This is because when I edit it, it returns the page without appearing the modification made, and when it gives the refresh it returns the page of listing

I tried this way but with no result:

echo '<meta http-equiv="refresh" content="1">';
echo '<meta http-equiv="refresh" content="3;url=listaclientes.php">';

In this way he updates and leaves the same page, but when he passes the 3 seconds he does not refresh again and redirects.

    
asked by anonymous 04.09.2018 / 20:49

0 answers