title: Unknown error when processing PHP form?
body: <p>Below is the code for a simple form with input/output. For some reason, only question one seems to be working and questions two and three simply echo back "Something is wrong." I coded all three questions the exact same way throughout so I'm not really sure why question two and three aren't processing correctly. Any advice would be greatly appreciated.</p>
  
  <p>Here is the HTML form:</p>
  
  <pre><code>      &lt;form action="processor.php" method="post"&gt;
        &lt;h4&gt;Question # 1&lt;/h4&gt;
        &lt;p&gt;What grade are you in?&lt;/p&gt;
        &lt;label class="checkbox"&gt;&lt;input type="checkbox" name="grade" value="1"&gt; Freshmen&lt;/label&gt;
        &lt;label class="checkbox"&gt;&lt;input type="checkbox" name="grade" value="2"&gt; Sophomore&lt;/label&gt;
        &lt;label class="checkbox"&gt;&lt;input type="checkbox" name="grade" value="3"&gt; Junior&lt;/label&gt;
        &lt;label class="checkbox"&gt;&lt;input type="checkbox" name="grade" value="4"&gt; Senior&lt;/label&gt;
  
        &lt;h4&gt;Question # 2&lt;/h4&gt;
        &lt;p&gt;What is your current GPA?&lt;/p&gt;
        &lt;select&gt;
        &lt;option name="gpa" value="4"&gt;3.5 or above&lt;/option&gt;
        &lt;option name="gpa" value="3"&gt;3.0-3.4&lt;/option&gt;
        &lt;option name="gpa" value="2"&gt;2.5-2.9&lt;/option&gt;
        &lt;option name="gpa" value="1"&gt;2.0-2.4&lt;/option&gt;
        &lt;option&gt;Lower&lt;/option&gt;
        &lt;/select&gt;
  
        &lt;h4&gt;Question # 3&lt;/h4&gt;
        &lt;p&gt;Where do you excel the most academically?&lt;/p&gt;
        &lt;select multiple="multiple"&gt;
        &lt;option name="school" value ="1"&gt;Mathematics&lt;/option&gt;
        &lt;option name="school" value ="2"&gt;Literature&lt;/option&gt;
        &lt;option name="school" value ="3"&gt;History&lt;/option&gt;
        &lt;option name="school" value ="4"&gt;Humanities&lt;/option&gt;
        &lt;option name="school" value ="5"&gt;Science&lt;/option&gt;
        &lt;/select&gt;
        &lt;div class="button"&gt;
        &lt;button class="btn btn-primary" input type="submit" name="submit" href="processor.php"&gt;Submit&lt;/button&gt;
        &lt;/div&gt;
        &lt;/form&gt;
  </code></pre>
  
  <p>Here is the processor:</p>
  
  <pre><code>  &lt;?php
  
   function Grades () {
   $grade = $_POST['grade'];
   if ($grade =="1") {
   echo "You're a freshmen";
   } elseif ($grade == "2") {
  echo "You're a sophomore";
   } elseif ($grade == "3") {
  echo "You're a junior.";
   } elseif ($grade == "4") {
  echo "You're a senior.";
   } else {
  echo "Something is wrong.";
   }
  
   }
  
   function Gpa () {
   $gpa = $_POST['gpa'];
   if ($gpa =="1") {
      echo "You strongly need to up your GPA.";
  } elseif ($gpa == "2") {
      echo "You're an average student.";
  } elseif ($gpa == "3") {
      echo "You're an above average student.";
  } elseif ($gpa == "4") {
      echo "You're an excellent sudent.";
  } else {
      echo "Something is wrong.";
  }
  
  }
  
  function School () {
   $school = $_POST['school'];
   if ($school =="1") {
      echo "You're into Math";
   } elseif ($school == "2") {
      echo "You're into Lit";
   } elseif ($school == "3") {
      echo "You're into history.";
   } elseif ($school == "4") {
     echo "You're into humanities.";
   } elseif ($school == "5") {
     echo "You're into science.";
   } else {
     echo "Something is wrong.";
   }
  
   }
  
   include('viewpage.php');
  
  ?&gt;
  </code></pre>
  
  <p>And the view page:</p>
  
  <pre><code>     &lt;h4&gt;Question # 1&lt;/h4&gt;
       &lt;p&gt;&lt;?php Grades($grade); ?&gt;&lt;/p&gt;
       &lt;h4&gt;Question # 2&lt;/h4&gt;
       &lt;p&gt;&lt;?php Gpa($gpa); ?&gt;&lt;/p&gt;
        &lt;h4&gt;Question # 3&lt;/h4&gt;
       &lt;p&gt;&lt;?php School($school); ?&gt;&lt;/p&gt;
  </code></pre>