Amir Hussain
Learner
How do I pass parameters to a controller\’s index() function?
How do I pass parameters to a controller\’s index() function?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
class demo extends CI_Controller{
function __construct() {
parent::__construct();
}
public function index($arg = 'null'){
// var_dump($arg);
$this->load->view('demo');
}
}