I have been trying to convert to images the results from a list produced by file() an by file_get_contents and I have got this far but cant seem to be getting any where: Here's what I got:
<?php
$data = file('http://cadenanoticias.com.mx/galerias/notas/22925/');
foreach((array)$data as $whoisline){
echo '<img src="http://cadenanoticias.com.mx/galerias/notas/22925/'.$whoisline.'">';
}
?>
So far I can see the ending double quotes and the closing bracket and that's it.
Any Idea on how to achieve this?