Answers for "how to remove "name" from array php"

PHP
1

php delete item from array

if (in_array('strawberry', $array)) 
{
    unset($array[array_search('strawberry',$array)]);
}
Posted by: Guest on November-10-2021

Code answers related to "how to remove "name" from array php"

Browse Popular Code Answers by Language