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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to