Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php erase element from array

foreach ($items as $key =>$item){
  if(condition){
    unset($item[$key]);
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #erase #element #array
ADD COMMENT
Topic
Name
4+2 =