Re: [PHP] putting a url in an anchor tag

2002-03-14 Thread JSheble
Here's a function that was sent to me in response to me needing the exact same thing: function pb_t2h_URLMarkup ($Text, $StyleClass = '', $Target = '') { if ($StyleClass != '') $ClassS = " class='$StyleClass'"; else $ClassS = ""; if

[PHP] putting a url in an anchor tag

2002-03-14 Thread Tyler Longren
Hello, I've been playing with this since lastnight. I have a string of text...Example: "This is a test string of test, please go to http://www.google.com now." I need something that will catch the "http://www.google.com"; part, and make into a link instead of just plain text. Does anyone know