|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
Messages: n/a
Hébergeur: |
"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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 ================== |
|
![]() |
| Outils de la discussion | |
|
|