|
 |
16년 전 |
(implode 함수)
string implode(array pieces, string glue);
// 배열 pieces의 각 요소를 문자열 glue로 연결한 전체 문자열을 반환.
<?
$arr = array("one", "two", "three", "four", "five");
$res = implode("/", $arr);
echo("$res");
?>
*****결과물*****
one/two/three/four/five
|
|
추천 : 523 |
추천
목록
|
|