Howto change some words into links in HTML?

AlcoseArolo

New Member
I want to change words from list (in file or database) into links in HTML website. I used str_replace, but i have problem with replacing words, that are already in links auchor.eg. I have html like this:\[code\]Lorem ipsum donor et simet <a>lorem ipsum</a> eta raoa talkesa z uta.\[/code\]An i want to replace all "ipsum" into links, but skip ipsum in [a]lorem ipsum[a].I don't know, maby preg_replace?
 
Back
Top