Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=84854
Postga havola
Tayota [667] [off]
2chi sahifada tarqatgan quvnoqni yangiliklar parserida xatolik bor ekan 3 4ta odam söragandi. Ishlatsam yangilik topilmadi deb xatolik chiqyapti deb bugun shu kodimni tög'irladim. Xatolik linkda edi.
//newsni ichiga kiramiz
degan joyini özgartiring
for ($total = 0; $total < count($newslink); $total++) {
$addl = 'http://quvnoq.com/yangiliklar/index.php'.$newslink[$total];
$html = @file_get_contents($addl);
//newsni ichiga kiramiz
degan joyini özgartiring
for ($total = 0; $total < count($newslink); $total++) {
$addl = 'http://quvnoq.com/yangiliklar/index.php'.$newslink[$total];
$html = @file_get_contents($addl);