[eluser]InsiteFX[/eluser]
Right after checking, you can not pass objects or arrays to a controller!
You could use the sessions or the flash_data.
InsiteFX
[eluser]Drubo[/eluser]
You may also use
echo anchor("controller/method/" . json_encode($things));
from view1 and then in controller2 you may use
json_decode($params);
I think you got your solution.
[eluser]nuwanda[/eluser]
I may be missing something here, but if you have two views that display data differently, you need two controllers (or methods) to generate that data and pass it to the new view.
So, controller 1 passes data to view 1
User clicks a link in view 1 to display the data differently
That link calls a new controller method that then calls view 2
No?
[eluser]Phil Sturgeon[/eluser]
Of course.