HI I am pretty new to PHP and am having a major proble. I want to update a PHP variable with the most current selection for a drop down medu. I can get the initial value with no problem but how do I update it once it changes. There is no form to be submitted that would be easy. I though that maybe I could do it with OnCange but can't figure out a way to do it. My code is below. Thanks in advance for your help.
marek
<td><select name="ShareCode">
<option value="" SELECTED>I am not sharing a room</option>
<option value="SpouseShare" <?if ($ShareCode == "SpouseShare") { echo "SELECTED";}?>>Sharing a room with a spouse</option>
<option value="ColleagueShare" <?if ($ShareCode == "ColleagueShare"){ echo "SELECTED";}?>>Sharing a room with a colleague</option>
</select>