Exemplo n.º 1
0
 public function modify(Member $Member)
 {
     $requete = $this->dao->prepare('UPDATE T_FOR_memberc SET FMC_login = :login, FMC_password = :password, FMC_fk_FMY = :level, FMC_dateupdate = NOW() WHERE FMC_id = :id');
     $requete->bindValue(':login', $Member->login(), \PDO::PARAM_STR);
     $requete->bindValue(':password', $Member->password(), \PDO::PARAM_STR);
     $requete->bindValue(':level', $Member->level(), \PDO::PARAM_INT);
     $requete->bindValue(':id', (int) $Member->id(), \PDO::PARAM_INT);
     $requete->execute();
 }