- if($this->db2->next_record())
- {
- $indiv_id = $this->db2->f('indiv');
- $indiv_name = $this->db2->f('name');
- $indiv_phone[$indiv_id] = $this->db2->f('phone');
- $indiv_int_pri[$indiv_id] = $this->db2->f('int_pri');
- $indiv_int_notes[$indiv_id] = $this->db2->f('int_notes');
- $indiv_aaronic = 0;
- }
- else {
- $sql = "SELECT * FROM tc_aaronic where aaronic=$aaronic_id";
- $this->db2->query($sql,__LINE__,__FILE__);
- if($this->db2->next_record())
- {
- $indiv_id = $this->db2->f('aaronic');
- $indiv_name = $this->db2->f('name');
- $indiv_phone[$indiv_id] = $this->db2->f('phone');
- $indiv_aaronic = 1;
- }
- }
+ $indiv_id = $this->db2->f('indiv');
+ $indiv_name = $this->db2->f('name');
+ $indiv_phone[$indiv_id] = $this->db2->f('phone');
+ $indiv_int_pri[$indiv_id] = $this->db2->f('int_pri');
+ $indiv_int_notes[$indiv_id] = $this->db2->f('int_notes');