SyntaxFix
Write A Post
Hire A Developer
Questions
You could do this:
echo "<script>alert('Successfully Updated'); window.location = './edit.php';</script>";