array_unique 배열중복값 제거
배열의 중복되는 값을 제거할때 사용하심 됩니다.
array_unique
$arr = array();
$arr[0] = "배열";
$arr[1] = "array";
$arr[2] = "PHP";
$arr[3] = "array";
echo 'array_unique($arr) : ';
print_r(array_unique($arr));
echo '<br>';
[결과]
array_unique($arr) : Array ( [0] => 배열 [1] => array [2] => PHP )
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 5246 | node.js |
swallow
|
2년 전 | 1102 | |
| 5245 | PHP |
swallow
|
2년 전 | 2522 | |
| 5244 | PHP |
swallow
|
2년 전 | 1284 | |
| 5243 | JavaScript |
swallow
|
2년 전 | 683 | |
| 5242 | node.js |
swallow
|
2년 전 | 664 | |
| 5241 | node.js |
swallow
|
2년 전 | 775 | |
| 5240 | MySQL |
swallow
|
2년 전 | 802 | |
| 5239 | MySQL | 2년 전 | 776 | ||
| 5238 | JavaScript | 2년 전 | 977 | ||
| 5237 | 웹서버 |
swallow
|
2년 전 | 3984 | |
| 5236 | PHP |
swallow
|
2년 전 | 897 | |
| 5235 | PHP |
swallow
|
2년 전 | 1376 | |
| 5234 | 기타 | 2년 전 | 751 | ||
| 5233 | jQuery |
swallow
|
2년 전 | 2032 | |
| 5232 | 2년 전 | 614 | |||
| 5231 | 2년 전 | 1168 | |||
| 5230 | 2년 전 | 1068 | |||
| 5229 | PHP |
swallow
|
2년 전 | 1018 | |
| 5228 | MySQL | 2년 전 | 721 | ||
| 5227 | PHP |
swallow
|
2년 전 | 833 | |
| 5226 | PHP |
swallow
|
2년 전 | 1808 | |
| 5225 | PHP | 2년 전 | 574 | ||
| 5224 | node.js |
swallow
|
2년 전 | 4079 | |
| 5223 | PHP |
swallow
|
2년 전 | 1314 | |
| 5222 | 기타 |
techstar
|
2년 전 | 557 | |
| 5221 | PHP | 2년 전 | 650 | ||
| 5220 |
swallow
|
2년 전 | 902 | ||
| 5219 | 2년 전 | 875 | |||
| 5218 | 2년 전 | 520 | |||
| 5217 | 2년 전 | 996 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기