How to stop function code after header("location: $url")
Posted: Wed Jul 22, 2009 6:44 am
The documentation for "header" says to use "exit" after "header".
Should I use "return" instead of "exit" when header("location: $url") is ran from inside a function? The documentation doesn't relate to such a scenario.
Thanks!
Should I use "return" instead of "exit" when header("location: $url") is ran from inside a function? The documentation doesn't relate to such a scenario.
Thanks!