Code spacing causing HEADER problem?

From: Date: Fri, 17 Sep 2004 22:35:09 +0000
Subject: Code spacing causing HEADER problem?
Groups: php.general 
Request: Send a blank email to php-general+get-197065@lists.php.net to get a copy of this message
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");?>

« previous php.general (#197065) next »