Skip to content

Instantly share code, notes, and snippets.

@333crist
Last active December 1, 2018 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 333crist/059573b82a2dd52a2025d467c4646183 to your computer and use it in GitHub Desktop.
Save 333crist/059573b82a2dd52a2025d467c4646183 to your computer and use it in GitHub Desktop.
<?php
echo "<table border='1' class='mainhati'>";
$url = 'http://gilabola.com/internasional/jadwal-bola-malam-ini/';
$content = file_get_contents($url);
$first_step = explode( '<tbody class="row-hover">' , $content );
$second_step = explode("</tbody>" , $first_step[1] );
$text1 = $second_step[0];
echo $text1;
echo "</table>";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment