Is it possible to write a MySQL query to replace links inside an HTML hypertext link as follows:
ex:
hello world <a href="http://www.sample.com/">hello world2</a>
hello world2 <a href="http://www.sample.com/news.php">hello world2</a>
and turns this into:
hello world <a href="http://www.sample.com/?kid=1000">hello world2</a>
hello world <a href="http://www.sample.com/news.php?kid=1000">hello world2</a>
(basically adding an extra parameter to all links starting with http://www.sample.com
)