Good, I'm new to the framework, I have a question about an XML that I'm doing in a project that is laravel, the detail is that I'm doing it entirely with php but when I want to visualize what I've done, I can not . here I leave my code
<?php
$html = "";
$url = "http://feeds.feedburner.com/blogspot/amDG?format=xml"
$xml = simplexml_load_file($url);
for ($i = 0;$i<10; $i++){
$id = $xml->entry[$i]->id;
$publi = $xml->entry[$i]->published;
$upda = $xml->entry[$i]->updated;
$title = $xml->entry[$i]->title;
$content = $xml->entry[$i]->content
$link =$xml->entry[$i]->link;
$name = $xml->entry[$i]->author->name;
$uri = $xml.->entry[$i]->author->uri;
$mail = $xml.->entry[$i]->author->email;
$html .="<div>
<h1>$title</h1>
<h3>
<a><spam>$link</spam></a>
<div>"update:"$upda "published:"$published </div>
<br>
<div>$content</div>
<br>
<div><spam>$name</spam></div>
<br>
<div>$uri</div>
<div>$mail</div>
</h3>
</div>";
}
echo $html;
?>
Just add the file to the folder where I am working. I do not know if I have to add some function to the view elsewhere, I have that doubt, thanks in advance.