I've used a while loop to call about 5 category names from a database to make a navigation. I didn't want to hard code the categories because I want to be able to change them using Content Management and have the nav update from the database.
<a href="category.php?cat=<?php echo $cid ?>"><?php echo stripslashes($cname) ?>
Clicking one of the links will bring up the Category page selected from the menu.
Question is, how can I make this nav highlight to the category that was chosen on the category.php page?
I would appreciate any help or ideas to work this out.