Forum Moderators: coopster
I've used preg_match_all to put all links into the array. When i display them, i want each link on a new line but using the code below, each echo follows directly on from each other rather than on the next line.
i suspect i'm missing something bleeding obvious as usual - any ideas?
for ($i=0; $i< count($matches[0]); $i++) {
echo "Found link: " .$matches[0][$i]. " \n";
}
echo "Found link: matches[0][$i]<br>\n";
;)