Is it possible to put 2 headers in 1 php file?
I want to do an if statement:
if ( this ) then go here (header1)
else go here (header2)
Thanks.
Yes; that's how you'd do it. What's the problem?
Ok nevermind, I got it sorted out 🙂
Thanks anyways!
Just extending on weedpackets message..
You can put as many as you want.. As long as there isnt any output before the headers
eg. header(), setcookie etc are set.
Ok thanks.