You absolutely can not send anything to the browser before a header is
sent...
so if you put a space in there, it gets sent to the client.. no good..
its not the code thats the problem . its that you escaped from php and
left space between.
Jason
"BOOT" <[EMAIL PROTECTED]> wrote:
>
> I don't get this!
>
> Why does example (a) work for me but not example (b) ??? I realize that no
> output can be sent to the browser before the header but why would code
> linepace effect? Thanks for any info!
>
>
> (a)
>
> <?php $a = 1; ?>
> <?php header("Location: 1.php");?>
>
>
> (b)
>
> <?php $a = 1; ?>
>
> <?php header("Location: 1.php");?>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php