Hallo Michael,
$query = "SELECT * FROM kust01 WHERE kust01_machcode LIKE '" . $suche1 . "%' AND
kust01_adressenart = 'H' OR
kust01_plz = '$suche3' AND
kust01_adressenart = 'H' OR
kust01_ort = '$suche4' AND
kust01_adressenart = 'H' OR
kust01_ho = '$suche5' AND
kust01_adressenart = 'H' OR
kust01_LfH = '$suche6' AND
kust01_adressenart = 'H'";
WHERE <wert 1> LIKE <wert 2> OR (<vergleich 2> AND <vergleich 3>) OR (<vergleich 4> AND <vergleich 5>) ... evtl. fehlen dir die Klammern :)
[...] Matchode und PLZ föllig [...]
Nehm dir mal eine Auszeit ;) - meistens gehts danach wieder besser.