Kill cached data (view) - 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: Kill cached data (view) (/showthread.php?tid=3478) |
Kill cached data (view) - El Forum - 10-04-2007 [eluser]Ketchxup[/eluser] Hey, I'm trying to load a view file twice view: Code: <?php foreach ($URL as $val):?> I create a function to load the viewfile. The array $data is loaded from the database. Code: function some($data) The problem is that second continuity from the loop also contains data from the first continuity it just sum it up. I suggest the var $URL is cached somewhere I already try to unset it but i failed: Code: $this->load->_ci_cached_vars[$key] thx Kill cached data (view) - El Forum - 10-04-2007 [eluser]Ketchxup[/eluser] SOLVED Kill cached data (view) - El Forum - 01-27-2011 [eluser]Unknown[/eluser] I know that this is an old old thread, but I've encountered the same issue with 'cached' view data and was wondering if you would share your answer. |