Return to Snippet

Revision: 50529
at August 26, 2011 01:37 by S_Park


Initial Code
$the_array = array_values(array_diff($the_array,array('the_value')));

Initial URL
http://www.kadimi.com/en/php-remove-an-array-item-by-value-719

Initial Description

                                

Initial Title
Remove an array item by value

Initial Tags

                                

Initial Language
PHP