scrivi questo:
Codice PHP:
<HTML>
<head>
<script type="text/javascript">
var timer, count;
function startCounter()
{
count = 5;
timer = setInterval(decrement, 1000);
}
function decrement(){
if(count == 0)
{
clearInterval(timer);
window.location.href="ricerca1.asp";
}
else{
count--;
document.getElementById('Count').innerHTML = count;
}
}
</script>
</head>
<BODY onload="startCounter()">
<center>
<h1>Aggiornamento Effettuato Correttamente</h1>
<H5>Verrai reindirizzato tra <b id="Count">5[/b] Secondi</H5>
[url="ricerca1.asp"]Clicca qui per non Attendere Oltre[/url]
</BODY>
</HTML>