in CodeIgniter by
Q:
What do you mean by the controller in CodeIgniter.

1 Answer

0 votes
by
The intermediary present between the models and the views to process the HTTP request and is used to generate a web page is known as a controller. It is basically known as the center of each

request that exists on the web application of the user.

Please consider the following URL in this reference,

projectName/index.php/welcome/

In this URL the CodeIgniteris basically trying to find the welcome.php file and the Welcome class.Controller Syntax

class ControllerName extends CI_Controller

{

public function __construct()

{

parent::__construct();

}

public function MethodName()

{

}

}
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Dec 27, 2020 in CodeIgniter by SakshiSharma
0 votes
asked Feb 2 in CodeIgniter by SakshiSharma
0 votes
asked Dec 29, 2020 in CodeIgniter by SakshiSharma
0 votes
asked Dec 27, 2020 in CodeIgniter by SakshiSharma
0 votes
asked Dec 29, 2020 in CodeIgniter by SakshiSharma
...