.guys I have the following code:
echo (\"\");
Use this if you also want to consider non-javascript users:
echo (" Successfully Updated. Click here if you are not redirected. ");