Form values

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

 



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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux