You can use embedded javascript for this.
Example:

<snip>
<?
 ## some code here .. blah blah

 echo "<script>window.location='http://path/to/next/page';</script>";
 exit; ## you may want to stop execution of rest of page here but at this
point you should be
         ## directed to the url set above.
?>
</snip>

hope that helps some.

--
Nicole Amashta
Web Application Developer
www.aeontrek.com


"Wayne Hinch" <[EMAIL PROTECTED]> wrote in message
000001c1e6b2$acfddcd0$0300a8c0@gromit">news:000001c1e6b2$acfddcd0$0300a8c0@gromit...
> Hi all,
>
> How can I get a page to automatically forward to the next page currently
> I am trying to use
>
> header("Location: [filename.php]");
>
> although this is not working it is bringing up the following error
>
> Warning: Cannot add header information - headers already sent by (output
> started at c:\html/customer/newcust.php:3) in [filename] on line 304
>
> How do I get around this problem, Please help.
>
> Wayne
>



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

Reply via email to