[eluser]J.P.C.[/eluser]
I don't know what wrong is happening but I have this function's controller:
function altaUsuario(){
$this->load->model('usuario');
echo $this->usuario->save2();
}
And this is the function's model:
function save2(){
return false;
}
The problem is that the function's Model doesn't return any value. And I realy need to return that false value back to the controller. This is really frustrating because it's a very simple and basic function to do and is not working
The most weird is that I have a function's library working in the same way against a model, instead a controller, and it's working great returning false or true value to the model.
I already try with capitalized words like FALSE instead false, but I had the same result.
Thanks to everyone.