RE: [PHP] Re: clearing new pages

From: Date: Wed, 26 May 2004 22:05:45 +0000
Subject: RE: [PHP] Re: clearing new pages
Groups: php.general 
Request: Send a blank email to php-general+get-187024@lists.php.net to get a copy of this message
hey, you could use some jave script there a.php: echo 'hello'; echo"<script language=\"Javascript\"> window.location = 'http://www.yourwebsite.com/b.php'";
From: "Rick Fletcher" <rick@snocap.com> To: <php-general@lists.php.net> Subject: RE: [PHP] Re: clearing new pages Date: Wed, 26 May 2004 12:52:55 -0700
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ Learn to simplify your finances and your life in Streamline Your Life from MSN Money. http://special.msn.com/money/0405streamline.armx

« previous php.general (#187024) next »