title: Undefined error when i try to put a disabled="disabled"
body: <p>I have a select option and put <code>disabled="disabled"</code> so that it cannot be selected, but when I try to press the update button it always give me this error.</p>
  
  <blockquote>
    <p>error  Notice: Undefined index: Province in
    D:\wamp\www\LTID\Updaterlbet.php on line 35</p>
  </blockquote>
  
  <p>But when i try to remove the <code>disabled="disabled"</code> it update successfully. But, i want that disabled to be put there so it cannot be selected..</p>
  
  <p><strong>The code</strong></p>
  
  <pre><code>$Province = isset($_GET['fruit']) ? $_GET['fruit'] : '';
  
  if(isset($_POST['update'])){
      $ID = $_GET['ID'];
      $fruit = $_POST['fruit'];
  }
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;select name="Province" class="form-control" id="category" onchange="javascript: dynamicdropdown(this.options[this.selectedIndex].value);"&gt;
         &lt;option selected="selected" value="&lt;?php echo $fruut; ?&gt;" disabled="disabled"&gt;&lt;?php echo $fruit; ?&gt;&lt;/option&gt;
         &lt;option value="strawberry"&gt;strawberry&lt;/option&gt;
         &lt;option value="raspberry"&gt;raspberry&lt;/option&gt;
         &lt;option value="blueberry"&gt;blueberry&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>