asked:8 months ago | by:andy_ameed | viewed:327 times | latest activity:8 months ago [ edited:4 months ago | by:jooria ] |
|
function nofollow($text){
$text = preg_replace('/(<a[srn]+[^>]+)>/i', '\1 rel="nofollow">',$text);
return $text;
}
|
answered by jooria in 8 months ago | last update in 4 months ago by jooria
|