프로그래밍/php

컨텐츠 내용중 첫번째 IMG주소 뽑아내기

verdana 2018. 2. 27. 11:54

## 컨텐츠 내용중 첫번째 IMG주소 뽑아내기

	function boardContent_ImgUrl( $content ){
		$tmp_content = substr( $content, strpos($content, "') );
		return $img_url;
	}