prepare(" UPDATE clients SET pwd = :pwd WHERE idMail = :idMail "); $update->execute([ ':pwd' => $newHash, ':idMail' => $idMail ]); ?>