> -----Original Message----- > From: Symeon Charalabides [mailto:[EMAIL PROTECTED]] > > > > if($column){ > > > > header("Location: http://website/next.php"); > > > > print "hello?"; > > > > exit; > > > > } > 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.
the easiest sulotions must be to replace the header line with: echo "<meta http-equiv='refresh' content='http://mysite/new.php; 0'>" /brother -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php