Mailinglisten-Archive |
Hallo Leute,
versuche, erfolglos, ein Element aus einem array zu löschen. folgende
Situation:
Inhalt vom array:
for_country[0]=Albania##2
for_country[1]=Bosnia And Herzegowina##27
for_country[2]=####
$count = count($for_country);
for($k=0;$k<$count_country;$k++)
{
if($for_country[$k] == "####")
unset($for_country[$k]);
}
es klappt aber nicht!! was muss ich anstellen um for_country an der stelle 2
komplett zu löschen??
Danke im Voraus.
Andy
php::bar PHP Wiki - Listenarchive