Connecting Tech Pros Worldwide Help | Site Map

Load a new page

  #1  
Old March 26th, 2008, 12:35 PM
Bruce A. Julseth
Guest
 
Posts: n/a
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

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

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


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
load new page with a blur effect sundrarajan answers 4 September 28th, 2007 03:21 PM
best way to load new page into a table? Napalm answers 3 October 21st, 2006 11:46 AM
Go to new page at the end of my function script Tony answers 4 August 6th, 2006 04:55 PM
New Page using Redirect? Raul M. Colon answers 4 November 17th, 2005 01:40 AM
input button to load new page Moist answers 3 July 23rd, 2005 02:03 PM