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