Discussion: Load a new page
Afficher un message
Vieux 26/03/2008, 14h02   #2
Bruce A. Julseth
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Load a new page


"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:Ev-dnWU07KfjqnfanZ2dnUVZ_umlnZ2d@comcast.com...
> 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
> ==================
>


Thanks... Your response "Jolted" my memory. I've used "header" before. I'll
look at include() and see I can also use it.

Bruce


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