Answers for "php array_push in foreach duplicate"

PHP
0

php array_push in foreach duplicate

foreach($something as $value){
    if(!in_array($value, $liste, true)){
        array_push($liste, $value);
    }
}
Posted by: Guest on October-12-2021

Browse Popular Code Answers by Language