Friday, 27 September 2013

How to return the link from background url with simple dom html?

How to return the link from background url with simple dom html?

I am trying to get the link of a background
<div class="mine" style="background:
url('http://www.something.com/something.jpg')"></div>
I am using find('div.mine')
$link = find('div.mine');
$link returns the html code containing all the
How do I parse so it returns only the link?

No comments:

Post a Comment