[thelist] [PHP] Ignoring an IMG tag within a string
Tim Burgan
email at timburgan.com
Mon Oct 25 00:44:02 CDT 2004
Hello,
I have a string similar to the following:
"<img src="#" /><p>Phasellus interdum orci ac tortor.</p>"
I was to display this string on screen, but I want to ignore any image
tags (like in the above example) and only display the <p> tags with the
content between them.
Is there a simple way to do this?
I had a quite browse of the PHP manual, and didn't come up with anything
yet.
Any help would be greatly appreciated. Thanks for your time.
Tim.
--
Tim Burgan.
Website Development & Graphic Design
E <email at timburgan.com>
W <www.timburgan.com>
: I recommend you upgrade your browser to Mozilla Firefox
: <http://www.mozilla.org/products/firefox/>
More information about the thelist
mailing list