Get Rid PHP Header Redirect Error

You use header(“location:address.html”); in your PHP script but keep getting the following error message? Warning: Cannot modify header information – headers already sent by (output started at /path/yourscript.php:8) in /path/yourscript.php on line 18 The error is because your script has output before calling header(). “Remember that header() must be called before any actual output is…