Answers for "arrry remove inex & value in php"

PHP
0

php remove element from array by value

// matrix array
foreach($appsList as $key => $app) {
            if($app["app_status"] !== "approved") {
                // remove orange apps
                unset($appsList[$key]);
            }
}
Posted by: Guest on January-15-2021
0

remove array values php

array_splice(array, start, length, array)
Posted by: Guest on November-03-2020

Browse Popular Code Answers by Language