echo ("<script LANGUAGE='JavaScript'> window.alert('Succesfully Updated'); window.location.href='http://someplace.com'; </script>");