Hi, I need help. I select some text from database and use echo to output, but I need to substitute some words from this text with links from database where is assigned link to this text.
for example I want to substitute all words "microsoft" in text with <a href="
in database there are two columns - in one is "microsoft", in second is <a href="
So all words "microsoft" would be links.
any idea?
I'm using PHP5 and MySQL 4.0.20
for example I want to substitute all words "microsoft" in text with <a href="
in database there are two columns - in one is "microsoft", in second is <a href="
So all words "microsoft" would be links.
any idea?
I'm using PHP5 and MySQL 4.0.20