雷达智富

首页 > 内容 > 网页技术 > 正文

网页技术

怎么把keywords中的关键词改成用“,”分隔呢?原来是空格

2021-11-19 509

内容页改法
把:

/inc/crontab/bencandy_html_crontab.php
/do/bencandy.php
/do/bencandy_html.php

里面的:

$titleDB[keywords]=filtrate($rsdb[keywords]);

改成:

$titleDB[keywords]=str_replace(,,,filtrate($rsdb[keywords]));


列表页改法:

/inc/crontab/list_html_crontab.php
/do/list.php
/do/list_html.php

里面的:

$titleDB[keywords]=filtrate($fidDB[metakeywords]);

改成:

$titleDB[keywords]=str_replace(,,,filtrate($fidDB[metakeywords]));
赞一波!3

文章评论

全部评论