Hello,
I have a php page (category.php) that loads its content from the database when a link is clicked from another page. For example a
a link that looks like this <a href = "category.php?category=cars">Cars</a>
when clicked will pull all the items from the database under the cars category and display on the category.php page.
However If a user decides to manually type in the url bar say www.sales.com/category.php
, No content will be displayed because the ?category=something
part is missing.
Please how does one go around this.? I would like to know if there are certain ways to handle this issue.
Thanks