Hallo Pit,
if (($wdh != "mofr") || (($wdh == "mofr") && (in_array(date("w",strtotime($wochenlauferClear)),$erl_mofr_array)))) { // Eintrag ...
(!A) || ((A) && (B))
Stell dir eine Wahrheitswerttabelle auf und prüfe, ob die Bedingung entsprechend deiner Wünsche korrekt ist.
Bis demnächst
Matthias
--
Rosen sind rot.
Rosen sind rot.