Here is my issue… See my details below:
mysamplesite.com has a form on it that requires a drop-down selection of a product, there are 4 products.
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 “if statement” that would display the product selected from the previous page because tehre are 4 products.
This is what is used to capture the value:
<?php $id = $_GET['product1']; echo $id;?>
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”…
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.
I think this will help you.