my $wert2=$cgi->param(...); $wert2 = $dbh->quote($wert2); $rows = $dbh->do("UPDATE your_table SET meine=$wert2");