Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash12345 committed Sep 14, 2017
1 parent 718bb4e commit 1e5dd27
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scraper.php
Expand Up @@ -12,7 +12,19 @@
$totalcountofstudenteachsemester = $element->find("td[3]/a" , 0)->plaintext;
$number = $totalcountofstudenteachsemester / 20;
$Pages = (int)$number;
echo $student = $element->find("td[3]/a" , 0)->href;
$student = $element->find("td[3]/a" , 0)->href;


for($loop = 0; $loop <= $totalcountofstudenteachsemester; $loop+=20)
{
$urls = $student . "/". $loop;
if($urls)
{
echo $url;s
}
}


}
}
}
Expand Down

0 comments on commit 1e5dd27

Please sign in to comment.