Welcome Guest, Not a member yet? Register   Sign In
route question
#2

[eluser]Glen Swinfield[/eluser]
Yes,

Code:
$route['product/:any'] = "catalog/product_lookup";

will work, then your url will be http://www.theurl.com/product/myproductid

Then:

Code:
$product_id = $this->uri->segment(2);
echo $product_id;

prints 'myproductid';


Messages In This Thread
route question - by El Forum - 07-14-2007, 09:19 PM
route question - by El Forum - 07-15-2007, 03:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB