I know this is probably a stupid question but I'm confused about the way headers work.
I'm using a template for my header so the beginning of my code starts with
include_once ('header.tpl');
This works fine until I want to change the location:
Header("Location: index.php")
then I get the error
Warning: Cannot modify header information - headers already sent by blah blah blah
How can I use the template and still change the location?
Again, sorry if this is dumb. :bemused: