<?php
    echo "Hello";
    echo "<meta http-equiv=\"Refresh\" content=\"2;url=b.php\">\n";
?>

Is another option

Craig

"Rick Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > > 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

Reply via email to