Thanks.
Have found that works very well.
However, has created a new problem.
I am including the WordFragment.inc class, where I need to create these links. And the code is working. But for some reason, the obfuscated code is being output to the browser, as if it has not been recognises as php code.
Any suggestions?
Regards
Paul