Why can I load a model from one controller but not another in CodeIgniter?
In CodeIgniter, I have a Controller named "Idee" in which there is this function:
public function index()
{
$this->load->model("idee");
echo "Doesn t go ahead";
$data['idees'] = $this->idee->getAll();
var_dump($data);
$this->load->view("view_home", $data);
}
But when I try the URL, the page is blank, and even the echo is not reached.
It is weird because I already did this on others page, and it's working.
Could you help me please?