title: PHP radio button check if null
body: <p>So we get this school task where we need to check if one of the fields is unfilled and display an error. We did this but for some strange reason it doesn't display a error when a radio button is unchecked (a textfield null check works fine).</p>
  
  <p>I've tried with a friend many possibilities but they all don't seem to work. We have been stuck at this task for two hours. Now we have tried making separate <code>if</code>'s but that doesn't seem to work too.</p>
  
  <p>These are the important parts:</p>
  
  <pre><code>&lt;p&gt;
  &lt;input type="hidden" name="taal" value="false"&gt;
      Choose a language
  &lt;input type="radio" name="taal" value="N"&gt; Dutch
  &lt;input type="radio" name="taal" value="E"&gt; English
  &lt;input type="radio" name="taal" value="S"&gt; Spanish
  </code></pre>
  
  <p></p></p>
  
  <pre><code>if (@$_POST['taal'] == null){
  echo "No Language gotten";
  return;
  }
  </code></pre>