It's been a couple of days now that I am trying to find a way to solve my problem. I use CURL to get the content of a webpage and then use prey_match_all to use the content on my style, but I've got a problem when it's time to find some < a > tags in the document.
I want preg_match_all to find all < a > tags that are followed by a < strong > tag and than store all href values of these < a > tags in a array variable.
Here's what I've thought :
preg_match_all("~(<a href=\"(.*)\"><strong>\w+<\/strong>)~iU", $result, $link);
It's returning me :
Array ( [0] => Array ( ) [1] => Array ( ) [2] => Array ( ) )
Can somebody help me please !!