复制代码 代码如下:
{dede:field name='keywords' runphp='yes' }
if(!empty(@me)){
$kws = explode(' ',@me);
@me = "";
foreach($kws as $k){
@me .= "<a href='/plus/search.php?keyword=".urlencode($k)."' target=_blank >$k</a> ";
}
@me= str_replace('+', ' ',trim(@me));
}