$user =~ s/'//gis; #Bei MSSQL jedoch verdoppeln ($user =~ s/'/''/gis; ) $dbh->do("SELECT * FROM accounts WHERE user='$user' ");