Hallo Berd.
ich möchte natürlich schon das ganze element löschen, jedoch habe ich in diesem beispiel nur den wert 7 und weiss den key davon nicht.
Dann durchlaufe mit einer einfachen for-Schleife den Array und lösche per unset das (im aktuellen Schleifendurchlauf aktuelle) Element, dessen Wert „7“ ist.
oder habe ich ein strukturelles problem ?
Ohne dein Vorhaben zu kennen, kann ich keine optimalere Lösung bieten.
Wie kommen die Werte zustande und warum?
Einen schönen Freitag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]