Sencillo:
header('Refresh: 0'); // 0 = seconds
Incluso puedes especificar una nueva ubicación
header("Refresh:2; url=new_page.php");
Pero cuando se trabaja con header
función, no debería haber ningún eco antes de llamarlo, pero si ya ha repetido algo, entonces puede usar html o javascript:
<meta http-equiv="refresh" content="0">
<!--here you can also specify new url location-->
<meta http-equiv="refresh" content="0; url=http://url.com/">
JS
window.location.reload();
Actualización: porque no puedes usar header
haz esto:
if ($stmt9)
{
$message = "User updated Sussesfully!";
echo '<meta http-equiv="refresh" content="0">';
}
else
{
echo '<meta http-equiv="refresh" content="0">';
}