Startseite Aktuelles News* Pressemitteilungen* SELFPHP Über SELFPHP Werbung Kontakt Unsere Banner Impressum Qozido Diving Edition Snorkeling Edition SELFPHP Dokumentation PHP-Skripte PHP Befehlsreferenz PHP 5 Praxisbuch PHP Code Snippets SELFPHP in Buchform Anbieterverzeichnis Globale Branchen Webhosting/Server Services Forum* RSS-Feeds* Downloads* Gratis-Video-Lektionen* SELFPHP auf Heft-CD* Newsletter* Internet Security sponsored by Stellenangebote* Premium-Partner Webhosting/Serverlösungen Produktempfehlung SteadyBackup
Die Funktion array_unique() entfernt doppelte Einträge aus einem Array (array) und gibt das neue Array als Ergebnis zurück.
<?PHP $array1 = array ( 'a', 'b', 'c', 'a', 'b' ); print_r ( array_unique ( $array1 ) ); ?>
Array ( [0] => a [1] => b [2] => c )