I have an update site where $opdateret is set to '1' when the update is done. This works fine and $opdateret is set to '1' as it should but I can't get it to redirect.
My codes are like this:
If ($opdateret=='1')
{header("Location: BrugerData.php"); Exit;}
It says:
Warning: Cannot modify header information - headers already sent by (output started at /usr/home/web/web60269/TEST/SangRet.php:8) in /usr/home/web/web60269/TEST/SangRet.php on line 107
Why doesn't it work ?