Was 'how can i tell if a library is loaded' now problems with Flexigrid - 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: Was 'how can i tell if a library is loaded' now problems with Flexigrid (/showthread.php?tid=22854) |
Was 'how can i tell if a library is loaded' now problems with Flexigrid - El Forum - 09-22-2009 [eluser]buckboru[/eluser] This is a continuation of the mentioned thread. i found the problem with $return['record_count'] = $row->record_count; $return['record_count') was getting a 'Null' even though $row->record_count was populated. I found that i had to change $row->record_count to $row->RECORD_COUNT I'm not sure why, exactly but it worked. So now i'm on to my next problem, and i'm just not having any luck finding the problem. If i have 1 record in my database, i can get the record to display. If i add a second record to my database, i get p>Severity: Notice</p> <p>Message: Array to string conversion</p> <p>Filename: libraries/Flexigrid.php</p> <p>Line Number: 265</p> Code: public function json_add_item ($item_data = NULL) database is defined as ID(int), iso(char), name(char), printname(char), iso3(char), numcode(int), actions(char) Any idea what might be going on here? Thanks Was 'how can i tell if a library is loaded' now problems with Flexigrid - El Forum - 09-22-2009 [eluser]gon[/eluser] Quote:Any idea what might be going on here? Not really, but you may want to use built-in or external json libraries. |