[eluser]jvicab[/eluser]
you can pass values from a model function to a calling controller by returning it. If you have more than one value to be returned, you have two choices: or create a multiarray and returning it (like return $myarray
![Wink Wink](https://forum.codeigniter.com/images/smilies/wink.png)
or using parameters passed by refrerence to model function.
Try not to use variable names that could be actually in used by codeigniter or php!