Cant add if statement php
<p>Hi im posting a textarea value to a page and the value must equal "2011" if it doesnt I want to throw an error. </p>

<p>my input is </p>

<pre><code>&lt;fieldset&gt;
    &lt;span class="subtitle"&gt;What year is it?&lt;/span&gt;
    &lt;input type="text" name="aspam" id="aspam"/&gt;
&lt;/fieldset&gt;
</code></pre>

<p>and my php is</p>

<pre><code>if(!isset($_POST['produgg_username']) or !isset($_POST['produgg_password']) or           !isset($_POST['produgg_email']) or $_POST['aspam'] != '2011')
{
    print "Please use all fields";
}elseif(empty($_POST['produgg_username'])){
    print "Please choose a username";
}elseif($_POST['aspam'] != '2011'){
    print "its not 2011!";
}elseif(empty($_POST['produgg_password'])){
    print "Please choose a password";
}elseif(empty($_POST['produgg_email'])){
    print "Please enter an email address";
}elseif(!filter_var($_POST['produgg_email'], FILTER_VALIDATE_EMAIL)) {    
    print "Please enter a valid email address";
}elseif(!preg_match("/^[a-z0-9]+$/i", $_POST['produgg_username'])) {
    print "Please use only characters and numbers for username";
}elseif($usersClass-&gt;checkUserExists($_POST['produgg_username'])) {
   print "Username Taken, please choose another";
</code></pre>
