I have a url
www.xample.com/app/pay/11
where pay is my controller. The controller is defined as
class Pay extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->library('tank_auth');
$this->load->model('users');
}
function index()
{
//How can I get 11 from uri ?
}
}
Im not using any additional function here.Im using an index function.How could I get the value 11?