array

배열 일부요소를 제거하고자 할때

배열 에서 특정 요소만 빼고 배열을 유지하고자 할때를 대비하여 다음과 같은 함수를 만들었다. <? function arr_cut($arr,$chk){ if(count($arr)>0){ $new_arr = Array();…