Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
$text = 'мля блая сиука ыыв ыыв фвы выф';
$arr = explode(' ', $text);
$word = $arr[rand(0, count($arr)-1)];
$text = str_replace($word,'<a href="/">' . $word . '</a>' ,$text);
print_r($text);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question