Posted By

S_Park on 08/26/11


Tagged


Versions (?)

Remove an array item by value


 / Published in: PHP
 

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

  1. $the_array = array_values(array_diff($the_array,array('the_value')));

Report this snippet  

You need to login to post a comment.