السلام عليكم
لا اعرف ماهو الخطا فى هذا الكود :con2:
ارجو من الاخوه المساعده
كود PHP:
$url = "http://www.tadawul.com.sa/wps/portal/!ut/p/.cmd/cs/.ce/7_0_A/.s/7_0_4AI/_s.7_0_A/7_0_4AI";
$string = implode("\n", file($url));
$site= "http://www.tadawul.com.sa";
$string2 = explode('<TR class="regular">', $string);
$string3 = explode('</DIV>', $string2[1]);
$news = str_replace('href="','style="text-decoration: none" "index.php?s=dtgez&t=',$string3[0]);
$news = str_replace('src="','SRC="'.$site,$news);
echo "$news";
منتظر الردود
بارك الله فيكم