Comments on: Removing index from array http://www.benjaminkeen.com/removing-index-from-array/ Web Developer Wed, 08 Apr 2015 20:33:39 +0000 hourly 1 By: Binny V A http://www.benjaminkeen.com/removing-index-from-array/comment-page-1/#comment-108 Wed, 06 Dec 2006 13:27:55 +0000 http://www.benjaminkeen.com/?p=85#comment-108 My way…
array_values(array_diff($arr,array($value)));

See http://www.bin-co.com/php/scripts/array_remove.php
There is code for deleting an element from a list and from an associative array.

]]>