Parsing Database Results - 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: Parsing Database Results (/showthread.php?tid=40831) |
Parsing Database Results - El Forum - 04-19-2011 [eluser]ShoeLace1291[/eluser] I realize that there is a section in the user guide about this, but I'm trying to parse database results but with a little more to it. This is my controller: Code: $query = $this->db->query(" All the code does is display the variables as is. When I print the array, it displays just like the user guide example arrays do. Parsing Database Results - El Forum - 04-20-2011 [eluser]danmontgomery[/eluser] You're just merging an array with an empty array, what are you expecting to happen? Parsing Database Results - El Forum - 04-20-2011 [eluser]ShoeLace1291[/eluser] I'm trying to create an array that looks like the one in the user guide. But if I use $member_album[] that will mess it up. |