php数组中删除元素

unset($arr[key]);  //索引值删除
array_splice($arr,$key,1);  //索引值递补

posted @ 2015-05-06 10:43  在阳光下飞翔  阅读(103)  评论(0编辑  收藏  举报