I was aware of something like this - that's why I was wondering if it was even possible to do what I'm trying to do
🙂
In my code (which is in the middle of the program) I do this: -
if (isset($name)) {
header ('Location: blah.php');
exit;
There's no blank line before header, should I be able to use header like this? I.e. in the middle of my code as opposed to at the very top - if not I can't use it in an 'if' statement anyway and will need to re-think.
Chris