"Message: Undefined index:" Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: "Message: Undefined index:" Problem (/showthread.php?tid=23963) |
"Message: Undefined index:" Problem - El Forum - 10-27-2009 [eluser]ChazUK[/eluser] Hi, I'm taking data from a database, which I'm then putting into a multidimensional array dynamically. The problem is that CI keeps giving me these errors Code: A PHP Error was encountered Also, when I loop through the SQL results (there are over 27,000) the foreach loop doesn't finish. Is this an occasion when using more SQL queries is better than letting PHP do the work? Thanks "Message: Undefined index:" Problem - El Forum - 10-27-2009 [eluser]pistolPete[/eluser] Please post your controller code. "Message: Undefined index:" Problem - El Forum - 10-27-2009 [eluser]ChazUK[/eluser] Code: foreach($query->result() as $row) |