title: Using a PHP if statement to change a link dynamically
body: <p>I am trying to create a form using the post method with a php script. Everything works except where it lets users choose between multiple packages.<br>
  On the confirmation page, there is a Pay Now button that I want to lead to a different Paypal payment page based on which package they choose on the form (the confirmation page is combined into the php script file). The problem is when I create the If statements in the script to say if <code>$variable = "This"</code> then <code>$pay_link = this</code>, <code>a href="&lt;?php echo($pay_link); ?&gt;"</code> it changes the <code>$variable</code> to <code>"This"</code> instead of just checking if it <code>= "This"</code>.   </p>
  
  <p>Is there any way to do what I am trying to achieve?</p>