include($thefile.".html");
http://www.php.net/manual/en/function.include.php

header("Location: ".$thefile);
http://www.php.net/manual/en/function.header.php

-Kevin

----- Original Message ----- 
From: "Brian & Shannon Windsor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 1:25 PM
Subject: [PHP] newbie question


> How do I get PHP to automatically open another PHP page in a browser if a
> condition is met?
> 
>  I have a pull down HTML table that submits a form to a PHP script.  That
> script then uses a little logic to figure out which web page to go to.  I
> have 5 different pages, and each has different content.  Right now, I can
> make it bring up links, but I can't figure a way out to make it
> automatically go to the proper web page.
> 
> I know this has to be easy, but I can't find any info one it.
> 
> Thanks for your help,
> 
> Brian
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


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

Reply via email to