Results 1 to 2 of 2
January 26th, 2006, 10:09 PM #1removing img tag info
I am trying to import some data and the image field has the image tags present.
I can do this bit of code
$product["THUMB"] = str_replace("<img border=0 width=50 height=50 src=","",$product["THUMB"]);
$product["THUMB"] = str_replace(">","",$product["THUMB"]);
But if the width and height are not = 50 then it does not get replaced. Anyone know how I can strip out the tag info leaving just the url?
January 27th, 2006, 09:10 PM #2
I finally figured this one out too
By likemynick in forum Programming / Datafeeds / ToolsReplies: 3Last Post: July 12th, 2006, 10:25 AM
By epicadventures in forum WebMerge (Fourthworld.com)Replies: 13Last Post: February 23rd, 2004, 05:44 PM
By SSanf in forum Commission Junction - CJReplies: 83Last Post: April 16th, 2003, 01:56 PM