|
The above is a summary of my code, not an exact snippet. I have a BASIC understanding but I lack serious experience so I am stumped on how to do this.
I have a mysqltable with all of my products and one of the columns is type.
I have links on the left of each page which are to take you to different product categories i.e.:
Watercolors
Silk Paintings
Oils
Colored Pencils
I have a page titled itemlistings.php which is what all of these pages link to. On this page is a mysql query which tells it which type of products to display on that page(watercolors, etc.) I am wondering how to pass the information that the user wants to see watercolors to the itemlistings.php page. I'm sure sessions aren't the best way to do this, or that it isn't even possible. However, can you please inform me of how to go about passing this information between pages just by clicking a link? Thanks so much for any help!
|