title: checkbox status in php
body: <p>I have a form with get method in php. In the form I created a checkbox which named Student.</p>
  
  <p>I use these codes to show the details about the users in submit button action.</p>
  
  <p>In the details page it shows error in it when the users aren't student. There is no problem when users are student :</p>
  
  <pre><code>if($_GET['student'] == "on")
  {
      print "Student";
  }
  else
  {
      print "Not student";
  }
  </code></pre>