Connecting Tech Pros Worldwide Help | Site Map

Load a new page

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 26th, 2008, 11:35 AM
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, 11:55 AM
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, 12: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 Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

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 220,989 network members.