my $sth = $dbh->prepare( qq{SELECT Bild FROM User WHERE User=?} ); $sth->execute($Username); ($bild) = $sth->fetchrow_array;