PHP: How to remove specific element from an array?
Posted
by dcp3450
on Stack Overflow
See other posts from Stack Overflow
or by dcp3450
Published on 2010-03-15T17:05:30Z
Indexed on
2010/03/15
17:09 UTC
Read the original article
Hit count: 290
How do I remove an element from an array when I know the elements name? for example:
I have an array:
$array = (apple, orange, strawberry, blueberry, kiwi);
the user enters strawberry
strawberry is removed.
© Stack Overflow or respective owner