I am trying to index a website and my preg_match returns an empty array.
This is what I have so far:
$content = get_content("www.something.com");
preg_match_all('#<span class="box_cod">Cod: ([0-9\.]*)</span><span class="box_pret">PRET: (.*)</span>#',$content,$Produs);
Where get_content is a curl function to retrieve the site.
Thank you!