Discussion: Load a new page
Afficher un message
Vieux 26/03/2008, 14h45   #3
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Load a new page

Bruce A. Julseth wrote:
> I have a decision tree where I need to load different pages depending upon
> the conditions. My problem is I don't know how to quit a page and load a new
> page.
>
> How do I quit one page and start another page?
>
> Thank you.
>
>
>


header('Location: http://www.example.com/page2.php');
exit();

The header() call must be made before any output is sent to the browser.

Alternatively, you can include() the appropriate file in the current
script.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
 
Page generated in 0,06691 seconds with 9 queries