On Tue, 27 Feb 2001 14:58, Peter Houchin wrote:

> > can some one offer a suggestion please ... i have a  
> 
> if ($update) {
> $result=foo;
> }
> 
> in that if statement i want to redirect them to another page after it
> has processed the result ..
 
> i tried having using
> 
> if ($update) {
> $result=foo;
> echo "<META HTTP-EQUIV=\"refresh\" CONTENT=\"1;page.php\">";
> }
> 
> but to no avail ..
> 
> any suggestions ?
> 
> Peter Houchin

if ($update) { 
 $result=foo; 
 header("page.php"); 
 } 

and make _absolutely_ sure that your script doesn't even have a white 
space _anywhere_ before issuing the header.

-- 
David Robley                        | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet                            | http://auseinet.flinders.edu.au/
            Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to