I have this code that redirects after updating the data
if($query) echo \'Congratulations! Data entered.\' else echo \'Warning! Data not