[eluser]Narf[/eluser]
[quote author="term25" date="1352288513"]
btw. this is not working:
Code:
$route['article/(:num)'] = 'article/$1';
[/quote]
... not true and this is exactly what you need to use here.
Furthermore, these are
routes, not filters or sanitizers. Whatever you do with those values afterwards is up to you and the router has no way of knowing that you'll pass them to a database.