I’m trying to take out all img src’s hidden in a string called $iteminfo[poverview], it looks like this:
Item overview goes here!
BLAH BLAH BLAH
BLAH BLAH BLAH
BLAH BLAH BLAH
I already know how to tell if they exist in the string, but how do I go about placing the 3 sources into an array?
The regular expression to find out if they exist in the string goes like this:
if (preg_match("//", $iteminfo[poverview])) {
preg_match("//", “”, $iteminfo[pdta]);
} else {
$iteminfo[pdta] = “None at this time.”;
}
How do I run through the string and place the image src’s into an array?
Thanks for any help in advance!