Postingan lainnya
Severity: error message: call to a member function result() on boolean
Mau tanya nech saya punya file views dari row 16 seperti berikut:
$i = 1; $total_biaya = 0; foreach ($get->result() as $key) : $total_biaya += $key->biaya;
Dan Controller nys seperti berikut:
$table = "t_order o JOIN t_detail_order do ON (o.id_order = do.id_order) JOIN t_items i ON (do.id_item = i.id_item)"; $data['get'] = $this->app->get_where($table,['o.id_order'=>$this->uri->segment(3)]);
namun selalu error seperti ini :
A PHP Error was encountered Severity: Error Message: Call to a member function result() on boolean Filename: views/….. Line Number: 18
Mohon penerangannya agan2.....
0
Belum ada Jawaban. Jadi yang pertama Jawaban
Login untuk ikut Jawaban