title: how to get items from the option of a <datalist> in php
body: <p><code>$_POST</code> return null value in the database. Why does this happen?</p>
  
  <pre><code>&lt;datalist name="countries" class="form-control"&gt;
      &lt;option value="India"&gt;India&lt;/option&gt;
      &lt;option value="United States"&gt;United States&lt;/option&gt;
      &lt;option value="United Kingdom"&gt;United Kingdom&lt;/option&gt;
      &lt;option value="Germany"&gt;Germany&lt;/option&gt;
      &lt;option value="France"&gt;France&lt;/option&gt;
  &lt;/datalist&gt;
  
  &lt;?php
  if (isset($_POST['countries'])){
     $country=$_POST['countries']; 
  }else{
      echo 'no value';
  }
  ?&gt;
  </code></pre>