Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove string from array

$index = array_search('string3',$array);
if($index !== FALSE){
    unset($array[$index]);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #string #array
ADD COMMENT
Topic
Name
5+7 =