> That was exactly what a meant! =) But you see, I have one problem, nothing
> happens when execute the code???? What do I do wrong? Here is a code
> example:
>
> if($column){
>
> header("Location: http://website/next.php");
>
> print "hello?";
>
> exit;
>
> }
>
> The "print"line prints just fine (even if it shouldn't, I just put a text
> there to see how far the code get) but the line above doesn't? I dont come
> to the website... :(. I know it exist!
>
Any 'header' command is only executed before any output is sent to the browser.
Even if you've a blank space/tab/line before the your '<?php' tag, that is
valid HTML output, and then 'header' is obsolete. Make sure no actual output
has been sent to the browser before the relocation.
Symeon Charalabides (cosmopolitan trainee)
--------------------------------------------------------
http://www.webmate.gr
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php