Hallo Blubbermann.
Überschreibe den Wert einfach mit einem leeren String..
wieso nicht einfach unset($test[6]); ?
Ja, wieso eigentlich nicht?
Weil Berd dies so geschrieben hat:
jetzt möchte ich den value 7 löschen (also nicht den key od. index 7)
Beim Einsatz von unset wird das gesamte Element (also Schlüssel und Wert) gelöscht.
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]