问题:
如下面内容,两个问题:
1、用正则取得所有图片地址的php语句怎么写?
2、取出的多个地址如何一条一条地保存到数据库中?
|
@@##@@@@##@@@@##@@1、什么是在线编辑器 2、fckeditor配置 3、fckeditor的应用 4、fckeditor结合数据库应用 立即学习“PHP免费学习笔记(深入)”; |
回答:
|
$str =' @@##@@@@##@@@@##@@1、什么是在线编辑器 2、fckeditor配置 3、fckeditor的应用 4、fckeditor结合数据库应用 立即学习“PHP免费学习笔记(深入)”; ';preg_match_all("/\@@##@@]*>/i", $str, $match); print_r($match); |

















