![]() |
row() and result() different - 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: row() and result() different (/showthread.php?tid=53506) |
row() and result() different - El Forum - 07-26-2012 [eluser]Unknown[/eluser] what the diffent of of row() and result()?... if i use row() data no showed...but if i use result() data is showed... example : Code: $this->db->where('ID_PERKARA','1'); $data_pasal_perkara=$this->db->get('td_kppu_pasal_perkara'); and if i use row() example : Code: $this->db->where('ID_PERKARA','1'); $data_pasal_perkara=$this->db->get('td_kppu_pasal_perkara'); A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: data_entry/pelaporan_lihat.php Line Number: 55 row() and result() different - El Forum - 07-26-2012 [eluser]Unknown[/eluser] need help please.... thanks before... row() and result() different - El Forum - 07-26-2012 [eluser]InsiteFX[/eluser] CodeIgniter Users Guide - Generating Query Results That should clear it up. |