> -----Original Message----- > From: Wayne Hinch [mailto:[EMAIL PROTECTED]] > > 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.
I most often uses the standard metarefresh, you just have to echo the variabels you want to pass to the new_doc.php <META http-equiv="REFRESH" CONTENT="0; URL=new_doc.php"> /brother -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php