Re: Passing var from one page to itself

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,
you can use session to store your variables between pages.



Aslan a écrit :
Hey there,

I have a problem where I have a simple -script that I am wanting to pass back to itself three times
1) Symptoms - > 2) Troubleshooting questions 3) Answer to problem

The page is passing the vars from the first page to the second, but the first pages vars are not passed to the third (but the second page is)

I am using includes for each sectional "page" and passing it back to itself

   if($submitted == "")
   {
    include 'inc/tshoot2-input.php';
   }
   if($submitted == "symptoms")
   {
    include 'inc/tshoot2-symptoms.php';     }
   if($submitted == "submitted")
   {
    include 'inc/answers.php';       }

The tool will ultimately be on www.adslgeek.com/troubleshooter/

I have it currently all on one page, but it isn't quite what I was after
..
Any help would be appreciated!

Cheers
ADSL Geek


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux