View Single Post
Old 03-11-2006, 03:16 PM  
BigBen
Confirmed User
 
Join Date: Nov 2004
Location: scv
Posts: 2,299
Question for php and regex gurus...

I need to parse html for any image tags and store all of them in an array...

So if this is the html:

blah blah <img src="asdf.jpg" width="150"> more blah <img border="1" src="kasdf.gif">

The array should be:

$images[0] = asdf.jpg
$images[1] =kasdf.gif

Anybody know how I can do this?
BigBen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote