Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php unset by value

if (($key = array_search($del_val, $messages)) !== false) {
    unset($messages[$key]);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #unset
ADD COMMENT
Topic
Name
4+3 =