Call to a member function row() on boolean |
@ dave friend
seems like your suggestion didn't work... to make it worse echo are not manifesting in the browser for the variable values. anyways this is my issue below An uncaught Exception was encountered Type: Error Message: Call to a member function row() on boolean Filename: /home/tauenjic/code.tauenji.com/install/application/models/Login_model.php and this is my code: <?php class login_model extends CI_Model { function cek_login($where) { $this->db->order_by('user_name', 'DESC'); print_r($this->db->get_where('admin', $where)->row()); $query=$this->db->get_where('admin', $where)->row_array(); $data = array(); if($query !== FALSE && $query->num_rows() > 0){ foreach ($query->result_array() as $row) { $data[] = $row->row_array(); } } return $data; } } anywayz hope someone out there is able to help me solve this issue for real |
Messages In This Thread |
Call to a member function row() on boolean - by tenshinadela - 10-05-2018, 02:22 AM
RE: Call to a member function row() on boolean - by dave friend - 10-05-2018, 11:26 AM
RE: Call to a member function row() on boolean - by gelson - 11-23-2020, 04:50 AM
RE: Call to a member function row() on boolean - by InsiteFX - 11-23-2020, 01:02 PM
RE: Call to a member function row() on boolean - by gelson - 11-23-2020, 10:16 PM
RE: Call to a member function row() on boolean - by InsiteFX - 11-24-2020, 02:33 AM
RE: Call to a member function row() on boolean - by gelson - 11-24-2020, 09:10 AM
RE: Call to a member function row() on boolean - by InsiteFX - 11-24-2020, 12:36 PM
|