답변 2개
채택된 답변
+20 포인트
get_editor_image() 함수를 이용하면 됩니다.
Copy
$matches = get_editor_image($view['content'], false);
$arr_img_src = $matches[1];
print_r($arr_img_src);
echo $arr_img_src[0];
echo $arr_img_src[1];
for ($i = 0; $i < count($arr_img_src); $i++) {
echo $arr_img_src[$i];
}
답변을 작성하려면 로그인이 필요합니다.