title: php if statement equals this then display this
body: <p><strong>Here is my issue... See my details below:</strong></p>
  
  <p>mysamplesite.com has a form on it that requires a drop-down selection of a product, there are 4 products. </p>
  
  <p>Once a product is selected and the form is submitted it passes that product form value to the next page.
  On that next page I need to know the "<em>if statement</em>" that would display the product selected from the previous page because tehre are 4 products.</p>
  
  <p><strong>This is what is used to capture the value:</strong></p>
  
  <pre><code>&lt;?php $id = $_GET['product1']; echo $id;?&gt;
  </code></pre>
  
  <p>I just need to know the "if statement" to use so I can display the different products on the next page. A product would be displayed depending upon which product was selected. So "if it's this then display this"...</p>
  
  <p>I've searched stackoverflow have haven't really found an example of what i'm looking for. Maybe I'm searching for the wrong thing.</p>