title: How to dynamically generate a dropdown menu
body: <p>In my php, I have created two dropdown or selection lists. My drop down list below: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;select name="food"&gt;
      &lt;option value=""&gt;...&lt;/option&gt;
      &lt;option value="Fruits"&gt;Fruits&lt;/option&gt;
      &lt;option value="Vegetables"&gt;Vegetables&lt;/option&gt;
      &lt;/select&gt;
  
  &lt;select name="type"&gt;
      &lt;option value=""&gt;--&lt;/option&gt;
      &lt;option value="Apple"&gt;Apple&lt;/option&gt;
      &lt;option value="Lettuce"&gt;Lettuce&lt;/option&gt;
      &lt;option value="Orange"&gt;Orange&lt;/option&gt;
      &lt;option value="Tomato"&gt;Tomato&lt;/option&gt;
      &lt;option value="Carrots"&gt;Carrots&lt;/option&gt;
      &lt;option value="Mango"&gt;Mango&lt;/option&gt;
    &lt;/select&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>m one page to the next.</p>