title: How to post a form to a switch statement to display a value in PHP
body: <p>what I need help with today is "How do I submit a form, so that if a certain value is selected, it will display a echo" - Here is what I have so far, but no data is being displayed:</p>
  
  <pre><code>&lt;form action="shop.php" method="post"&gt;
          &lt;input type="radio" name="order" value="vip1"&gt;VIP Package 1&lt;br /&gt;
          &lt;input type="radio" name="order" value="vip2"&gt;VIP Package 2&lt;br /&gt;
          &lt;input type="radio" name="order" value="vip3"&gt;VIP Package 3&lt;br /&gt;
          &lt;!--&lt;input type="hidden" name="order"/&gt;--&gt;
          &lt;input type="submit" value="Submit"&gt;
          &lt;/form&gt;
  
          &lt;center&gt;&lt;?php
          if(isset($_GET['order']))
              {
          switch($_GET['order']) {
          case NULL:
              echo'';
              //echo'&lt;b&gt;No payment was selected!&lt;/b&gt;';
              break;
  
          case 'vip1':
              echo '12321';
              break;
  
          case 'vip2':
              echo 'You must be rich :D';
              break;
  
          case 'vip3':
              echo 'This is test 2!';
              break;
  
          case 'vip4':
              echo 'This is test 3!';
              break;
                  } 
                      } else { echo '&lt;b&gt;&lt;/b&gt;'; }
  </code></pre>
  
  <p>Now, I have looked around google and StackOverflow, but I can't seem to find exactly what I'm looking for. I tried watching a video but I don't understand how it works, since I am using radio buttons for my options. Help is much appreciated. </p>