title: show link with if/else and selected option
body: <p>I have been struggeling with this for a couple of hours and my head is exploding at this point. My programming skills are very low, so this should be an easy one for you. </p>
  
  <p>I want to use an if/else statement with a selected option from a select menu to show a specific link. Say, when I select option1 from a select menu I want to show link1 and so on. </p>
  
  <p>I searched a lot of topics and found several solutions, but non of them helped me, so please help me!</p>
  
  <p>The HTML code I got so far:</p>
  
  <pre><code>&lt;select name="package_select"&gt;
  &lt;option value=""&gt;Select package&lt;/option&gt;
  &lt;option value="one"&gt;One listing&lt;/option&gt;
  &lt;option value="two"&gt;Two listings&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And my PHP code:</p>
  
  <pre><code>&lt;?php
  $package = $_GET['package_select']; echo $package;
  
  if ( $package == "one" ) { ?&gt; 
  first link
  
  &lt;?php }
  else if ( $package == "two" ) { ?&gt;
  second link
  
  &lt;?php } else { ?&gt;
  do nothing...
  
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>I am probably missing something, but I don't know what... </p>
  
  <p>Thank you so much!</p>