Issue in accessing table contents using status parameter
问题 I am trying to display jobs won by a certain provider. What I did was to create function get_approved_job_proposals in my model. Then, I created function manage_job_contracts in my controller, but I never got to successfully run it. Here's my code in model: public function get_approved_job_proposals($status) { $this->db->select('*')->from('job_proposal')->where('status', $status); $this->db->where("status" == "Awarded"); $query = $this->db->get(); return $query->result_array(); } and this is