my $sth=$dbh->prepare("UPDATE Volunteer set Volunteer =?, WHERE $id"); #### my $sth = $dbh->prepare("select Date from Volunteer where Volunteer=?"); $sth->execute($user);