- file_get_contents: documentation ( source)
- explode: documentation ( source)
<?php
$url = 'http://www.lolking.net/summoner/euw/21048165';
$content = file_get_contents($url);
$first_step = explode( '<div class="personal_ratings_rating" style="margin-bottom: 0; height: 30px; font: bold 20px \'Trebuchet MS\';">' , $content );
$second_step = explode("</div>" , $first_step[1] );
echo $second_step[0];