Welcome Guest, Not a member yet? Register   Sign In
Is that possible to generate URL from routing rule?

Let's assume I have the following rule:
$route['product/:any'] = "catalog/product_lookup";

And I want to create a link that passes the rule.
Something like this:
echo generateRoutingURL( 'catalog/product_lookup', array( 'some_product' ) );
// Output: product/some_product

Is it possible in any versions of CI?

[eluser]Cristian Gilè[/eluser]
echo anchor($this->uri->ruri_string(),'link name');

Theme © iAndrew 2016 - Forum software by © MyBB