title: php file not getting my select value
body: <p>So I'm trying to get the value of my select element. I've tried testing to see if my php file receives my value, but it doesn't seem to be working. </p>
  
  <p>Here is my php code:</p>
  
  <pre><code>&lt;?php
  
  if (isset($_POST['okButton'])){
      $value = $_POST['allCategories1'];
  }
  
  ?&gt;
  </code></pre>
  
  <p>And here is my HTML-code:</p>
  
  <pre><code>&lt;form action="index.html" method="post"&gt;
  &lt;select id="allCategories1"&gt;
      &lt;option name ="All_categories" value="All_categories"&gt;All categories&lt;/option&gt;
      &lt;option value="No_category"&gt;No category&lt;/option&gt;
      &lt;option value="Shooter_games"&gt;Shooter games&lt;/option&gt;
      &lt;option value="Family_games"&gt;Family games&lt;/option&gt;
      &lt;option value="Action_games"&gt;Action games&lt;/option&gt;
      &lt;option value="Sport _games"&gt;Sport games&lt;/option&gt;
  &lt;/select&gt;
  &lt;button type="submit" name="okButton" id="okButton"&gt;Ok&lt;/button&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>I don't know why, but it's not giving me the value of all categories.
  Anyone know what I did wrong?</p>