[eluser]Unknown[/eluser]
example.com/index.php/products/shoes/sandals/123
Your function will be passed URI segments 3 and 4 ("sandals" and "123"):
<?php
class Products extends CI_Controller {
public function shoes($sandals, $id)
{
echo $sandals;
echo $id;
}
}
?>
How to call method with arguments
example.com/index.php?c=products&m=shoes&????/sandals/123
how to name to arguments
Thanks