설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

down.htm 312B

1234567891011
  1. <?php
  2. $html = $eyou['field']['content_5'];
  3. //提取详情图片
  4. $pattern = '/<img[^>]+>/i';
  5. //使用preg_match_all函数来查找所有匹配的img标签
  6. preg_match_all($pattern, $html, $matches);
  7. // 输出结果
  8. //var_dump($matches[0]);
  9. $k = $pa - 1;
  10. echo $matches[0][$k];
  11. ?>