Heya, this is my first time posting or even visiting these forums.
I am trying to make a script that will scan though a news post stored in MySQL, and turn urls into links.
I can't seem to find a way to do this.
I imagine it would have to start storing characters into a variable once 'http' is found, then stop when it reaches a space. Once that's done I can do an eregi_replace to find that in the text and replace it with <a href= $variable target=_blank>$variable</a>
Any help is greatly appreciated.