Thanks for your reply. How would I get the alignment in there?
Ultimately, what I'd really like to do is:
- have it find this:
blah blah blah || imagename1.jpg left || blah blah blah
look up imagename1.jpg in the image table
and replace the string with this:
blah blah blah <a href="imagename1.jpg" align="left" height="50" width="120" border="1">
where height and width and border are stored in the image table when the image is uploaded. However, I'm fine starting with an abbreviated version of this, but I do need to get the left / right align thing in there.
Again, thanks for the reply. I appreciate the help.