0 not passing a if statement if != 0 ? string compared to string
<p>i am just fixing some form validation, and i seem to have a very odd issue.</p>

<pre><code>$newsletter = $_POST['newsletter']; // value 0 or 1 is passed from form, as "value"
// input type is radiobuttens
</code></pre>

<p>then i have a very simple</p>

<pre><code>if ($newsletter != "0" || $newsletter != "1") {
    $error_message .= 'Invalid newsletter?&lt;br /&gt;';
}
</code></pre>

<p>it does not pass this? i did try:</p>

<pre><code>if ($newsletter != 0 || $newsletter != 1) {
</code></pre>

<p>does not pass either, but thats comparing a string to an int as far as i know</p>
