Grabbing image information from an html string
| From: | Luis Lebron | Date: | Tue, 25 Mar 2003 20:07:17 +0000 |
| Subject: | Grabbing image information from an html string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-141003@lists.php.net to get a copy of this message | ||
Let say I have an html string that looks like this:
<b>Title<b>
<img src="graphics/image1.jpg">foo bar bar foo<img
src="graphics/image2.jpg">Some more text.
I would like to pull the image filenames from the html and end up with
something like this
$images=array("image1.jpg", "image2.jpg")
How can I do this?
thanks,
Luis R. Lebron
Project Manager
Sigmatech, Inc