Session vs Query Help - 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: Session vs Query Help (/showthread.php?tid=15315) |
Session vs Query Help - El Forum - 01-31-2009 [eluser]draconus[/eluser] Okay, So I have the following info in session: Code: $session['id'] = $this->session->userdata('id'); Which works great, but of course, every record has the same data. I created a query that pulls based on the id of the record and tryed to return it to the view: Code: function profile(){ Any suggestions here on how i can pull the data more explicitly in the view? Session vs Query Help - El Forum - 02-04-2009 [eluser]xzela[/eluser] Can you post both the controller code and view code? |