Normally I can figure this out, but the format looks a bit different then what I am used to. I have a web service using php with CodeIgnighter. The function looks like this:\[code\] function getCurrentSales($office_id) { $CI =& get_instance(); $CI->load->model("properties"); //Get the properties $where = array('field_SaleOfficeCode'=>$office_id); $where = array('field_ListOfficeCode'=>$office_id); $result = $CI->properties->getCurrentSales($where); $properties = $result->result_array(); foreach($properties as $p){ //Get property images $where = array('ListingKey'=>$p['UniqueKey']); $property_arr[] = $p; } return $property_arr; }$this->nusoap_server->service(file_get_contents("php://input")); } \[/code\]What I am trying to do is return rows where 'field_ListOfficeCode' or 'field_ListOfficeCode' have the value of '$office_id'. As it is now, only when field_ListOfficeCode=>$office_id, not when one or the other equals the value.