I have a catalog with several links and one generic listing page. I would like the sql results to change based on which category the user clicks on. Is $_GET the best way to pass the information to the listing page from the index? If so, how do I go about doing this? Thanks so much!
It's hard to understand what you want. But you can make link like this
_http://yourdomain/cat?=X
then
PHP Code:
<?php if (isset($_GET['cat']){ use sql query here with WHERE cat=X while (){ show each item or do something here } } ?>