I want to assign two values to one variable in php.I am using codeigniter and in model i need to assign two values to one variable.How i do that. Here is code of my model.
public function close_bid()
{
$status = 'Assign';
$this->db->where('bid_status',$status);
return $this->db->get("project_bid")->result();
}
I want if $status is equal to assign or $ status is equal to Complete then where condition is checked. I am trying that but its not working:
$status = 'Assign' || $status = 'Complete';