من با این کد تونستم اطلاعات رو بگیرم
<?php
$url = "http://www.btaraf.com/LiveScore.aspx";
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
ob_start();
$html=curl_exec($ch);
ob_end_clean();
curl_close ($ch);
if( preg_match( "/<td class='leaguelabel rowheader noborder'>(.*?)<\/table><\/div><\/div>/si" , $html , $Match ) )
{
$new = str_replace('/Images', 'http://www.btaraf.com/Images', $Match[1]);
}
echo $new;
?>
حالا اگر بخوام یک کم منظم ترشون کنم ، یا در ترتیب نمایششون دست ببرم چی کار کنم
در کل اطلاعات رو چطور تکه تکه کنم