SyntaxFix
Write A Post
Hire A Developer
Questions
Alert will block the program flow so you can just write the following.
echo ("<script LANGUAGE='JavaScript'> window.alert('Succesfully Updated'); window.location.href='http://someplace.com'; </script>");