Carnage
01-09-2005, 11:10 AM
preg_match_all("(\[(IMG|img)\](.{1,})\[(\/IMG|\/img)\])", $sig[signature], $out, PREG_SET_ORDER);
ok basically what i'm looking to achieve is an array of all the url contained within img tags from a users signature. The above works fine MOST of the time... however with multiple image tags or when they are mixed up with other tags, i get some sevear errors... ideas?
ok basically what i'm looking to achieve is an array of all the url contained within img tags from a users signature. The above works fine MOST of the time... however with multiple image tags or when they are mixed up with other tags, i get some sevear errors... ideas?