Yellow everyone!
I've had a look at different ways for, on the one hand striping special characters and tags on the other hand allowing the user to create a link to a page or e-mail address.
The following seems an option if it is in fact possible. Here the user would be able to do it simply by putting down a phrase like "check out my website at http://blabla.com ."
Now the code would:
- get the text
- search for instances of a certain
character order (e.g. http://)
- load the string (which is like a long
word) between two blank spaces
which contains these characters into an
array
- output the result as
<a href="$address">$address</a>
Thus my question: Is it possible to single out phrases between blank spaces and load them into an array. If yes how would one do it?
Thanx for any help