background image

 

$word2

[] = 

$v

[0]; 

$replacement

[] = '<a href="' . 

$v

[1] . '" target="_blank" class="keylink">' . 

$v

[0] . '</a>'; 

if

 (

$replacenum

 != '') { 

$txt

 = preg_replace(

$word1

$replacement

$txt

$replacenum

); 

else

 { 

$txt

 = 

str_replace

(

$word2

$replacement

$txt

); 


return

 

$txt