Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 26th, 2008, 12:35 PM
Bruce A. Julseth
Guest
 
Posts: n/a
Default Load a new page

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.


  #2  
Old March 26th, 2008, 12:55 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: Load a new page

Bruce A. Julseth wrote:
Quote:
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
==================

  #3  
Old March 26th, 2008, 01:05 PM
Bruce A. Julseth
Guest
 
Posts: n/a
Default Re: Load a new page


"Jerry Stuckle" <jstucklex@attglobal.netwrote in message
news:Ev-dnWU07KfjqnfanZ2dnUVZ_umlnZ2d@comcast.com...
Quote:
Bruce A. Julseth wrote:
Quote:
>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


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles