I was just wondering if anyone can help me rewriting a URL.
e.g. I get the following values from DB for the these variables:
catID: 67
itemID: 21
catName: flowers
itemName: rose
I want to rewrite the URL :
http://www.site.com/detail.php?catID=67&itemID=21
to something like:
http://www.site.com/flowers/rose/
Now I can rewrite it to http://www.site.com/flowers/rose/67/21/ easily but I don't want the numbers to display in the URL. How can I hide the varibales in URL to make it look like http://www.site.com/flowers/rose/ ?
I know thats possible becuse I've seen it in many websites.
Please help