Hi,

I've managed to get Windows IE to pick up on most of my $_SESSION variables 
once a user clicks the 'Back' button using the following code in the base 
form:

'value=<?php if(!empty($_SESSION['rfname'])) echo $_SESSION['rfname']; ?>'

However, when I try this approach for a muliple SELECT dropdown box that is 
loaded by a 'require' statement, it doesn't pass the info. I've tried to 
isolate the individual components:

<?php require("dobdod.fdd");

        if(!empty($_PST['bday'])) echo $_POST['bday'];
        if(!empty($_POST['bmonth'])) echo $_POST['bmonth'];
        if(!empty($_POST['birth'])) echo $_POST['birth'];

        if(!empty($_POST['dday'])) echo $_POST['dday'];
        if(!empty($_POST['dmonth'])) echo $_POST['dmonth'];
        if(!empty($_POST['death'])) echo $_POST['death'];
?>

Btw, the base form calls another form, which displays an error message. Once 
the 'Back' button is clicked, the base form reappears. [I've also tried 
putting a <?php . . . ?> around each if(!empty . . .); statement above with 
same result.]

Any ideas what I'm doing wrong? I've been at this one for a couple of weeks, 
and nothing seems top work. Is it possible to pass the info back to the base 
form?

Tia,
Andre

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

Reply via email to