PHP validate form validation with HTML select
<p>I have a simple select box which is like this,</p>

<pre><code>&lt;label for="gender"&gt;Gender:&lt;/label&gt;&lt;select id="gender" name="gender"&gt;
&lt;option value="Male"&gt;Male&lt;/option&gt;
&lt;option value="Female"&gt;Female&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>And in my php I cannot validate to make sure it is a correct value using,</p>

<pre><code>if ($_POST['gender'] !== 'Male' || $_POST['gender'] !== 'Female') {

      // perform redirect
}
</code></pre>

<p>I have also used the operator <b>!=</b> to, why is this happening?</p>

<p>Many regards,</p>
