function imgpic($content) { $pattern="//"; preg_match_all($pattern,$content,$match); Return isset($match[1][0]) ? "" : false ;}?>