RE: [PHP] Re: clearing new pages

From: Date: Wed, 26 May 2004 19:52:55 +0000
Subject: RE: [PHP] Re: clearing new pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187020@lists.php.net to get a copy of this message
> > Hi, > > a file called a.php prints "hello" to the browser then calls > > b.php which prints "goodbye" to the browser. > > the output looks like this: > > > > hello > > goodbye > > > > how do I clear the screen so the end results looks like this: > > a.php: > > echo 'hello'; > header('location: b.php'); exit; That actually wouldn't work, because once there's output ("echo") you can't send a header. --Rick

« previous php.general (#187020) next »