I'm new to php and and i need help with something. I need to divide the image and the content from this variable. It has a image and the description.
$content = "<a href="/pin/211106301253428599/">
<img src="http://media-cache-ak0.pinimg.com/192x/8d/97/f5/8d97f59de2c2d5d8d83fa61f1f4ad7a5.jpg"></a>
No matter where or why you travel, there's always something wonderfully new to be found! <a href="/search?q=quote" class="pintag" title="#quote search Pinterest">#quote</a>";
I know this is something simple but please help me. I need the image in a variable and the content with the link in another..
Thanks.