I have the following example string:
$example = "This is a test. [url]http://www.test.com[/url] testing testing blah blah."
to echo that string, I would just do:
echo $test;
But would would I make that http part into an actual hyperlink?
So what I want is to find a "http://www.....etc" in the string, and put it into <a href="http://www.....etc>[url]http://www....etc[/url]</a> format.
Can anyone give me some pointers?
Thanks 🙂