Hi
I'm having problems getting my head around eregi_replace. What I want to do
is allow users to enter links to their sites in a simple guest book. The
links can take either of 2 formats:-
http://www.nowhere.co.uk/apage.htm
which would display 'http://www.nowhere.co.uk/apage.htm' as the link text
or
click here which would
display 'click here' as a clickable link.
The first one I've managed to get working but I can't get my head around
the 2nd. Can anyone point be in the right direction please. I've looked and
looked at php.net but just can't make any sense of it :(