Friday, March 02, 2012

How to delete an element from an array in php? - Stack Overflow

How to delete an element from an array in php? - Stack Overflow

$key = array_search($needle,$array);
if(isset($key)){
unset
($array[$key]);
}

More than 3 requests, I'll translate this to Chinese.
超过3个请求,我就会把这篇文章翻译成中文。

No comments: