Sorry for broken english, I am use domcrawler to extract element from web page, and i try to show it in views, but i getting error like this :
(1/1) ErrorException
Undefined variable: judul
in Webscrapper.php (line 30)
code :
$crawler->filter('td.gsc_a_t > a')->each(function ($node)
{
$judul[]=$node->text();
});
return view('scrape',['judul' => $judul]);
line 30 is :
return view('scrape',['judul' => $judul]);
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2z9GvPG
via IFTTT
Aucun commentaire:
Enregistrer un commentaire