View Single Post
Old 08-03-2009, 12:00 PM   #1 (permalink)
russellharrower
The Contributor
 
russellharrower's Avatar
 
Join Date: Jul 2009
Posts: 80
Thanks: 13
russellharrower is on a distinguished road
Default str_replace - img

Hi i need away to strip away the img html and get just the src part of the html image.

Then I need to take the URL to the image and give it a class like

$image=[URL to Image]

then what i want it to do is any other html code like <div> or tables or any HTML code to delete, But all images must be able to get an image class like the one above.

Can any one help me
russellharrower is offline  
Reply With Quote