DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php remove specific element from array
if (($key = array_search('strawberry', $array)) !== false) { unset($array[$key]); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#remove
#specific
#element
#array
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit