Ejemplo n.º 1
0
 public function update()
 {
     $query = "update Recipients set " . "password = '******', " . "bornDate = '" . $this->bornDate . "', " . "gender = '" . $this->gender . "', " . "cellPhone = '" . $this->cellPhone . "', " . "email = '" . $this->email . "', " . "address = '" . $this->address . "' " . "where identification = '" . $this->identification . "'";
     return Recipient::exec($query);
 }