Passing var from one page to itself

From: Date: Sun, 21 Dec 2008 03:10:37 +0000
Subject: Passing var from one page to itself
Groups: php.general 
Request: Send a blank email to php-general+get-284901@lists.php.net to get a copy of this message
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

« previous php.general (#284901) next »