Hi, i've never been too good with preg_replaces, and was wondering what I would use to replace
<img src="imageurl" border="0">
with
<a href="imageurl">imageurl</a>
Thanks for any help, will give rep. =)
The views expressed on this page by users and staff are their own, not those of NamePros.
Thanks for the help, but it doesn't quite work with what I'm trying to do. Sorry about that, I should have been more specific.
I'm trying to get it on my forum so users can choose to have images replaced with a link to the image.
So it would have to be able to replace all of the "<img src="~~" of a text field.