Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=35610
Postga havola
uDesign [758] [off]
alilay, # alilay (27.07.2018 / 09:43)
Сирожиддин, Rahmat
35 daqiqa 47 soniyadan keyin yozdi:
$k = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum_mavzu` WHERE `tema` = '".$id."' AND `javob` = '1'"),0);
$k1 = mysql_result(mysql_qSizi yozgan ko`dlarizi tarjima qberaman iloji boricha soda qilib chuntiraman
Сирожиддин, Rahmat
35 daqiqa 47 soniyadan keyin yozdi:
$k = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum_mavzu` WHERE `tema` = '".$id."' AND `javob` = '1'"),0);
$k1 = mysql_result(mysql_qSizi yozgan ko`dlarizi tarjima qberaman iloji boricha soda qilib chuntiraman
$k = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum_mavzu` WHERE `tema` = '".$id."' AND `javob` = '1'"),0);// Bazadan `javob` ustunadagi malumotlar 1 ga tengini chiqarish $k1 = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum_mavzu` WHERE `tema` = '".$id."' AND `javob` = '2'"),0);// Bazadan `javob` ustunadagi malumotlar 2 ga tengini chiqarish // bu yerda $k natija bilan $k1 ni ayirmasi $ses = $k-$k1; // Agarga $ses natija 5 dan yuqori bo`lsa if ishlaydi if ($ses>5) { // Agarga $ses natija 5 dan past bo`lsa else ishlaydi va faqat test yozuvini chiqaradi! } else { echo 'test'; }