title: How do I pass the value of drop down with form submit?
body: <p>I have these 2 drop downs:
  <a href="https://i.stack.imgur.com/LuxV1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LuxV1.png" alt="enter image description here"></a></p>
  
  <p>I have to provide values of Select Item drop down based on the value chosen in the Select Category drop down.</p>
  
  <p>This is my PHP for Select Category drop down:</p>
  
  <pre><code>&lt;form&gt;
  ...
      &lt;select name="category" id="category" value="category" class="form-control ddplaceholder" style="width:220px;font-size:18px;font-family:Roboto;" onclick="document.form.submit();"&gt;
                   &lt;option value="" disabled selected&gt;Select Category&lt;/option&gt;
  ...
  &lt;input type="submit" name="submit" style="width:20%;padding:15px;" value="Update"&lt;/input&gt;
  ...&lt;/form&gt;
  </code></pre>
  
  <p>But nothing is happening. How do I do it?</p>