I'm new to php and I've encountered a problem on school project. The question I have is, as the question suggested, to pass variable to url when a link is click. My problem is I have a drop down menu, which displays a category of menu products, e.g. food, drinks, desert. And when I click on the food category, the url will display :
http://localhost/products.php?menu=food
and if I click on the drinks category the url will display:
http://localhost/products.php?menu=drinks