![]() |
Is it possible to send a variable to the view from a "post_controller" - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Is it possible to send a variable to the view from a "post_controller" (/showthread.php?tid=37380) |
Is it possible to send a variable to the view from a "post_controller" - El Forum - 01-07-2011 [eluser]Johnny Freeman[/eluser] Is it possible to send a variable to the view from a "post_controller" hook? load->vars doesn't seem be able to pass variables after the controller's method has been executed. Any suggestions would be great! Is it possible to send a variable to the view from a "post_controller" - El Forum - 01-07-2011 [eluser]Wonder Woman[/eluser] Have you tried using sessions? or flashdata? Is it possible to send a variable to the view from a "post_controller" - El Forum - 01-07-2011 [eluser]Johnny Freeman[/eluser] I've considered many different options but I'm just curious if there's a way to do it with ci natively.... if that makes sense. I'll likely have to use sessions or flashdata/userdata. Thanks for the suggestion. |