Dostum böyle birşey yaptım inşallah işine yarar.
<html>
<style>
table, th, td {
border:1px solid black;
}
</style>
<body>
<?php
$url = 'http://www.koeri.boun.edu.tr/scripts/lasteq.asp';
$data = explode("\n", file_get_contents($url));
$i = 0;
foreach($data as $line){
if(strpos($line, "BALIKESIR")){
$regex = '/(.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*) Quick/m';
preg_match($regex, trim($line," "), $matches[$i]);
print_r($matches[$i]);
$i++;
}
}
?>
<br>
<br>
<table style="width:100%">
<?php
for($j = 0;$j<count($matches);$j++){
?>
<tr>
<?php
for($x=0;$x<count($matches[$j]);$x++)
{
echo "<th>".$matches[$j][$x]."</th>";
}
?>
</tr>
<?php
}
?>
</table>