I'm working on CI controller, and have problem with achieving URL I want to get.
I want to achieve URL like:
/someclass/url1/$id/url2
class Someclass extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->load->model('classes');
}
function index()
{
$this->url1($id=null);
}
function url1($Id)
{
//code
}
function url2()
{
//code
}
}