Drop down List issue when making as non editable
<p>I have a task assignment site. I create task for a person in activity.php</p>

<p>I can edit the activity in edit.pgp page.</p>

<p>I am retreiving the selected value for a drop down.</p>

<pre><code>&lt;b&gt;Assignee: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &lt;/b&gt;&lt;select name = "assignee"  id="assignee"&gt;
    &lt;option &lt;?php if ($assignee == $assignee) { echo 'selected="selected"'; } ?&gt;&gt;&lt;?php echo $assignee ?&gt;&lt;/option&gt;
  &lt;option &lt;?php echo $bssignee ?&gt; &lt;/option&gt;
</code></pre>

<p>It displays the user which has been selected in previous screen.(activity.php)</p>

<p>I wanted to make the drop down as non editable. So i changed the code as </p>

<pre><code>&lt;b&gt;Assignee: &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &lt;/b&gt;&lt;select name = "assignee" disabled = "disabled" id="assignee"&gt;
    &lt;option &lt;?php if ($assignee == $assignee) { echo 'selected="selected"'; } ?&gt;&gt;&lt;?php echo $assignee ?&gt;&lt;/option&gt;
  &lt;option &lt;?php echo $bssignee ?&gt; &lt;/option&gt;
</code></pre>

<p>But after that whenever I submit the value in edit.php. The dropdown value is getting saved as null or blank.</p>

<p>Also When I dont make it as non editable. Even without changing the value it saves the value.</p>

<p>So how can I make the value to be saved and user not able to change the dropdown value ?</p>
