[eluser]Blackparadox[/eluser]
The problem isn't accessing the variable from the view, my code is a bit different...
Code:
$this->load->vars(array('var' => $var))
and in view I can easily do
But if I do the same thing in controller says the variable is undefined. I know, I shouldn't echo in controller but I don't want to do that, it's just and example