Now, i've put my hand to this and it just burns me..
How would i go about taking some user input
[php]
$_userInput = "http://www.somesite.co m is a great site!";
[/php]
and changing it so that it was wrapped in a hyperlink
[php]
$_userInput = "<a href=\"http://www.somesite.co m\">http://www.somesite.co m</a> is a great site!";
[/php]
Any ideas?
Much appreciated.
How would i go about taking some user input
[php]
$_userInput = "http://www.somesite.co m is a great site!";
[/php]
and changing it so that it was wrapped in a hyperlink
[php]
$_userInput = "<a href=\"http://www.somesite.co m\">http://www.somesite.co m</a> is a great site!";
[/php]
Any ideas?
Much appreciated.
Comment