I ultimately want to extract just the links (each on a separate line) and append some text both before and after it. I do not want the <li> tags. I'm still learning, but I'm guessing that to extract each link, I'll need to use preg_match? But I'm struggling on how to get it to repeat from each element of the array. All my efforts return just the first value. And while I am able to get my text to append and repeat, the team link is missing from all but the first line. I've tried numerous things, which is all very good experience for me...but I'm at the point where I need help as I've exhausted my limited knowledge. Thanks in advance.
extracting limited data from an array
1
I ultimately want to extract just the links (each on a separate line) and append some text both before and after it. I do not want the <li> tags.
I'm still learning, but I'm guessing that to extract each link, I'll need to use preg_match? But I'm struggling on how to get it to repeat from each element of the array. All my efforts return just the first value. And while I am able to get my text to append and repeat, the team link is missing from all but the first line. I've tried numerous things, which is all very good experience for me...but I'm at the point where I need help as I've exhausted my limited knowledge. Thanks in advance.
I'm still learning, but I'm guessing that to extract each link, I'll need to use preg_match? But I'm struggling on how to get it to repeat from each element of the array. All my efforts return just the first value. And while I am able to get my text to append and repeat, the team link is missing from all but the first line. I've tried numerous things, which is all very good experience for me...but I'm at the point where I need help as I've exhausted my limited knowledge. Thanks in advance.
- gcornelisse
Next Topics on Trending Feed
-
1