Form values

From: Date: Sat, 09 Oct 2004 21:30:01 +0000
Subject: Form values
Groups: php.db 
Request: Send a blank email to php-db+get-36711@lists.php.net to get a copy of this message
to pass session values, with a textbox I'm doing like this: <input name="El2" type="text" id="El2" value="<?php echo $_SESSION['El2']; ?>"> what I can't find out about is if I have a select menu with a dynamic table feeding it: <td>State 1 </td> <td><select name="State1" id="State1"> <?php while(!$rsStates->EOF){ ?> <option value="<?php echo $rsStates->Fields('StateID')?>"><?php echo $rsStates->Fields('States')?></option> <?php $rsStates->MoveNext(); } $rsStates->MoveFirst(); ?> So the php is doing the feed of the dynamic table, but I have no idea where to set the session variable. It's not an array, but does it get treated like one ? Stuart

« previous php.db (#36711) next »