[eluser]Unknown[/eluser]
I have a database with many products.
Using routing I was able to get SEF URLs like 'http://site.com/view/saw'.
My problem is that product names are not unique ... so I must specify the id in the URL.
What is the best way to do it:
1. something like 'http://site.com/view/saw-1234' and then parse the id from the name?
2. put id in it's own segment 'http://site.com/view/1234/saw' and then check id and name?