Session variables

From: Date: Mon, 08 Jul 2002 11:36:14 +0000
Subject: Session variables
Groups: php.general 
Request: Send a blank email to php-general+get-106065@lists.php.net to get a copy of this message
I am designing a form using sessions in which the user inputs their details on page 1 and after submitting they are directed to page 2 for confirmation. They then have the option of editing their input (ie they are returned to page 1) where their previous input is reflected in the form fields by value ='<?php echo $var ?>' This works fine except if the input type is a drop down box, in which case the default <option> is shown. Is there any way around this? How can I show the user their previous choice in these boxes? Any insights would be appreciated. Steve

« previous php.general (#106065) next »