Hello!.
I'm trying to use the header function like this:
header("location:test1.php");
header("location:test2.php?var=".$var);
but when i upload the .php file on my website it doesn't work properly, making the seguent error:
Warning: Cannot modify header information - headers already sent...