Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=83474&page=6
PHPda masalalar yechish
Mavzu fayllari (28)
Xabarlar
Akbarali, -shart bajarilmagan asosiy urg'u 30 sekunt chiqib u sanash kerak:
30 29 28 27 kabi kamayib keyin sahifa refresh bo'lish kerak
-js siz iloj yo'q menimcha
30 29 28 27 kabi kamayib keyin sahifa refresh bo'lish kerak
-js siz iloj yo'q menimcha
DjHuSo, # DjHuSo (21.04.2020 / 14:37)
11 Masala tartibga solis va raqalmash
Toskent
Xorazm
Nukus
Andijon
Navoyi
Samarqand
Namangan
Qashqadaryo
Surxondaryo
Fargʻona
Buxoro
Sirdaryo
Jizzax
shularni harfga qarab saralang vaBu ham bir yechimda
Namuna https://webschool.uz/test/2.php
11 Masala tartibga solis va raqalmash
Toskent
Xorazm
Nukus
Andijon
Navoyi
Samarqand
Namangan
Qashqadaryo
Surxondaryo
Fargʻona
Buxoro
Sirdaryo
Jizzax
shularni harfga qarab saralang vaBu ham bir yechimda
<?php $tartib = array("Toskent", "Xorazm", "Nukus", "Andijon","Navoyi","Samarqand","Namangan","Qashqadaryo","Surxondaryo","Buxoro","Sirdaryo","Jizzax","Fargʻona"); foreach ($tartib as $key => $val) { echo "" . $key . ". " . $val . "<br>"; } ?>
Namuna https://webschool.uz/test/2.php
REYTING (21.04.2020)
1.developer - 31 ball
2.ƒυтвσĻιѕт - 26 ball
3.DjHuSo - 6 ball
4.Akbarali - 5 ball
5.program - 3 ball
G'olibga homiylar:
-developer - 30 qiwi menda
-DjHuSo - 5000 paynet menda
-Mahmudjon - 20 qiwi menda
MASALALAR:
1-MASALA (mini kalkulyator)
2-MASALA (kalkulyator)
3-MASALA (matn simvollar soni)
4-MASALA (habar yozilgan vaqt)
5-MASALA (Palonchiyev P.P)
6-MASALA (Sonlarni o'qitish)
7-MASALA (.txt kalitni tekshirish)
8-MASALA ( AKTIV )
9-MASALA (nechanchi harf)
10-MASALA (a nechta)
11-MASALA (array sort)
1.developer - 31 ball
2.ƒυтвσĻιѕт - 26 ball
3.DjHuSo - 6 ball
4.Akbarali - 5 ball
5.program - 3 ball
G'olibga homiylar:
-developer - 30 qiwi menda
-DjHuSo - 5000 paynet menda
-Mahmudjon - 20 qiwi menda
MASALALAR:
1-MASALA (mini kalkulyator)
2-MASALA (kalkulyator)
3-MASALA (matn simvollar soni)
4-MASALA (habar yozilgan vaqt)
5-MASALA (Palonchiyev P.P)
6-MASALA (Sonlarni o'qitish)
7-MASALA (.txt kalitni tekshirish)
8-MASALA ( AKTIV )
9-MASALA (nechanchi harf)
10-MASALA (a nechta)
11-MASALA (array sort)
12-MASALA(+1 BALL):Bizga $text o'zgaruvchisi berilgan:
Php yordamida barcha so'zlarni 1-harfini katta harfda yozing!
$text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
Php yordamida barcha so'zlarni 1-harfini katta harfda yozing!
Mailzero, # Mailzero (21.04.2020 / 17:16)
Akbarali, -shart bajarilmagan asosiy urg'u 30 sekunt chiqib u sanash kerak:
30 29 28 27 kabi kamayib keyin sahifa refresh bo'lish kerak
-js siz iloj yo'q menimchaJS bo`lsa JSda
1 daqiqa 6 soniyadan keyin yozdi:
Eslatma kodlarni o`zimga bir oz qo`shimcha kiritdim lekin shu kodni yana han qisqartirsa bo`lardi
1 daqiqa 37 soniyadan keyin yozdi:
Namuna https://webschool.uz/test/1.php
Akbarali, -shart bajarilmagan asosiy urg'u 30 sekunt chiqib u sanash kerak:
30 29 28 27 kabi kamayib keyin sahifa refresh bo'lish kerak
-js siz iloj yo'q menimchaJS bo`lsa JSda
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title id="countdown">Akbarali formasi</title> </head> <body> <?php echo '<META HTTP-EQUIV="Refresh" CONTENT="30">' ?> <div id="countdown1"></div> <script type="text/javascript"> var timeleft = 30; var ab = 'Akbarali '; var abc = 'yaratgan '; var downloadTimer = setInterval(function(){ if(timeleft <= 0){ clearInterval(downloadTimer); document.getElementById("countdown").innerHTML = "Sahifa yangilanmoqda"; } else { document.getElementById("countdown").innerHTML = timeleft + " soniya " + ab + abc; document.getElementById("countdown1").innerHTML = timeleft + " soniyadan so`ng orqaga qaytasiz"; } timeleft -= 1; }, 1000); </script> <?php }else{ ?> <form class="form-wrapper" action="?" method="post"> <input name="matn" placeholder="Hohlagan narsa yozing" type="text" required autofocus> <button type="submit" name="submit" class="btn btn-primary">Saqlash</button> </form> <? } ?> </body> </html>
1 daqiqa 6 soniyadan keyin yozdi:
Eslatma kodlarni o`zimga bir oz qo`shimcha kiritdim lekin shu kodni yana han qisqartirsa bo`lardi
1 daqiqa 37 soniyadan keyin yozdi:
Namuna https://webschool.uz/test/1.php
Mailzero, # Mailzero (21.04.2020 / 19:06)
12-MASALA(+1 BALL):Bizga $text o'zgaruvchisi berilgan:
$text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad Qaranga kecha shuni o`qigan edim
Namuna: https://webschool.uz/test/3.php
12-MASALA(+1 BALL):Bizga $text o'zgaruvchisi berilgan:
$text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad Qaranga kecha shuni o`qigan edim
<?php echo ucwords("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."); ?>
Namuna: https://webschool.uz/test/3.php
REYTING (21.04.2020)
1.developer - 31 ball
2.ƒυтвσĻιѕт - 26 ball
3.Akbarali - 21 ball
4.DjHuSo - 6 ball
5.program - 3 ball
G'olibga homiylar:
-developer - 30 qiwi menda
-DjHuSo - 5000 paynet menda
-Mahmudjon - 20 qiwi menda
MASALALAR:
1-MASALA (mini kalkulyator)
2-MASALA (kalkulyator)
3-MASALA (matn simvollar soni)
4-MASALA (habar yozilgan vaqt)
5-MASALA (Palonchiyev P.P)
6-MASALA (Sonlarni o'qitish)
7-MASALA (.txt kalitni tekshirish)
8-MASALA (30 soniya)
9-MASALA (nechanchi harf)
10-MASALA (a nechta)
11-MASALA (array sort)
12-MASALA (bosh harf)
1.developer - 31 ball
2.ƒυтвσĻιѕт - 26 ball
3.Akbarali - 21 ball
4.DjHuSo - 6 ball
5.program - 3 ball
G'olibga homiylar:
-developer - 30 qiwi menda
-DjHuSo - 5000 paynet menda
-Mahmudjon - 20 qiwi menda
MASALALAR:
1-MASALA (mini kalkulyator)
2-MASALA (kalkulyator)
3-MASALA (matn simvollar soni)
4-MASALA (habar yozilgan vaqt)
5-MASALA (Palonchiyev P.P)
6-MASALA (Sonlarni o'qitish)
7-MASALA (.txt kalitni tekshirish)
8-MASALA (30 soniya)
9-MASALA (nechanchi harf)
10-MASALA (a nechta)
11-MASALA (array sort)
12-MASALA (bosh harf)
13-MASALA(+5 BALL):Bizga massif beriladi.Massif faqat sonlardan iborat.Sonlarni barchasi ikkitadan ishlatilgan.
Faqat bitta songina 1 marta ishlatilgan.Shunday funcsiya tuzishimiz kerakki qanday shunaqa massif berilganda
yagona ishlatilgan sonni topishi kerak.Massivdagi sonlar 0 dan 100 oraliqdagi sonlar.
Masalan: (1,1,2,3,4,2,4) bu massivda yagona son 3. Chunki massivda 3 bir marta ishlatilgan.
Faqat bitta songina 1 marta ishlatilgan.Shunday funcsiya tuzishimiz kerakki qanday shunaqa massif berilganda
yagona ishlatilgan sonni topishi kerak.Massivdagi sonlar 0 dan 100 oraliqdagi sonlar.
Masalan: (1,1,2,3,4,2,4) bu massivda yagona son 3. Chunki massivda 3 bir marta ishlatilgan.
14-MASALA(+5 BALL):
Shunday sahifa tuzinki 10 minut real vaqtda 1 dan 100 gacha sanasin.
Yordam:har 6-sekuntda 1, 12-sekuntda 2, 26-sekuntda 3,...va hakazo 100
Shart: Sanash sahifada ko'rinsin!
$vaqt='600'; //sekunda koʻrsatilgan 10 min $sanash='100'; // gacha sanalsin
Shunday sahifa tuzinki 10 minut real vaqtda 1 dan 100 gacha sanasin.
Yordam:har 6-sekuntda 1, 12-sekuntda 2, 26-sekuntda 3,...va hakazo 100
Shart: Sanash sahifada ko'rinsin!
Mailzero, # Mailzero (22.04.2020 / 10:38)
14-MASALA(+5 BALL):$vaqt='600'; //sekunda koʻrsatilgan 10 min
$sanash='100'; // gacha sanalsin
Shunday sahifa tuzinki 10 minut real vaqtda 1 dan 100 gacha sanasin.
Yordam:har 6-sekuntda 1, 12-sekunСаволга тушунмадим. 10 дақиқа сахифада 1-100 гача санаб берса бўлдими ? И + ўша 1-100гача сахифада кўриниши керакми ?
14-MASALA(+5 BALL):$vaqt='600'; //sekunda koʻrsatilgan 10 min
$sanash='100'; // gacha sanalsin
Shunday sahifa tuzinki 10 minut real vaqtda 1 dan 100 gacha sanasin.
Yordam:har 6-sekuntda 1, 12-sekunСаволга тушунмадим. 10 дақиқа сахифада 1-100 гача санаб берса бўлдими ? И + ўша 1-100гача сахифада кўриниши керакми ?
Mailzero, # Mailzero (22.04.2020 / 10:38)
14-MASALA(+5 BALL):$vaqt='600'; //sekunda koʻrsatilgan 10 min
$sanash='100'; // gacha sanalsin
Shunday sahifa tuzinki 10 minut real vaqtda 1 dan 100 gacha sanasin.
Yordam:har 6-sekuntda 1, 12-sekun
3 daqiqa 45 soniyadan keyin yozdi:
namuna
4 daqiqa 54 soniyadan keyin yozdi:
Akbarali yozgan koddan asos qilib foydalanildi!
14-MASALA(+5 BALL):$vaqt='600'; //sekunda koʻrsatilgan 10 min
$sanash='100'; // gacha sanalsin
Shunday sahifa tuzinki 10 minut real vaqtda 1 dan 100 gacha sanasin.
Yordam:har 6-sekuntda 1, 12-sekun
<!DOCTYPE html> <html> <head> <title id="vaqt"></title> </head> <body> <META HTTP-EQUIV="Refresh" CONTENT="600"> <div id="v" style="color: red; font-size: 14px;" ></div> <div id="sanash" style="color: green; font-size: 14px;"></div> <script type="text/javascript"> var timeleft = 0; var sana=0; var downloadTimer = setInterval(function(){ if(timeleft > 600){ clearInterval(downloadTimer); document.getElementById("sanash").innerHTML = "sanash tugadi"; } else { document.getElementById("v").innerHTML = timeleft +" sekund o'tdi"; if (timeleft % 6 == 0) { document.getElementById("sanash").innerHTML = sana; sana+=1; } } timeleft += 1; }, 1000); downloadTimer(); </script> </body> </html>
3 daqiqa 45 soniyadan keyin yozdi:
namuna
4 daqiqa 54 soniyadan keyin yozdi:
Akbarali yozgan koddan asos qilib foydalanildi!
developer, # developer (22.04.2020 / 18:07)
Mailzero,
<!DOCTYPE html>
<html>
<head>
<title id="vaqt"></title>
</head>
<body>
<META HTTP-EQUIV="Refresh" CONTENT="600">
<div id="v" style="color: red; font-size: 14px;" ></div>
<divUnda ballarni bo`lishamiz
Mailzero,
<!DOCTYPE html>
<html>
<head>
<title id="vaqt"></title>
</head>
<body>
<META HTTP-EQUIV="Refresh" CONTENT="600">
<div id="v" style="color: red; font-size: 14px;" ></div>
<divUnda ballarni bo`lishamiz
developer, # developer (22.04.2020 / 18:07)
Mailzero,
<!DOCTYPE html>
<html>
<head>
<title id="vaqt"></title>
</head>
<body>
<META HTTP-EQUIV="Refresh" CONTENT="600">
<div id="v" style="color: red; font-size: 14px;" ></div>
<div14-Masala yechimi!
Mailzero,
<!DOCTYPE html>
<html>
<head>
<title id="vaqt"></title>
</head>
<body>
<META HTTP-EQUIV="Refresh" CONTENT="600">
<div id="v" style="color: red; font-size: 14px;" ></div>
<div14-Masala yechimi!
REYTING (21.04.2020)
1.developer - 36 ball
2.ƒυтвσĻιѕт - 26 ball
3.Akbarali - 21 ball
4.DjHuSo - 6 ball
5.program - 3 ball
G'olibga homiylar:
-developer - 30 qiwi menda
-DjHuSo - 5000 paynet menda
-Mahmudjon - 20 qiwi menda
MASALALAR:
1-MASALA (mini kalkulyator)
2-MASALA (kalkulyator)
3-MASALA (matn simvollar soni)
4-MASALA (habar yozilgan vaqt)
5-MASALA (Palonchiyev P.P)
6-MASALA (Sonlarni o'qitish)
7-MASALA (.txt kalitni tekshirish)
8-MASALA (30 soniya)
9-MASALA (nechanchi harf)
10-MASALA (a nechta)
11-MASALA (array sort)
12-MASALA (bosh harf)
13-MASALA (AKTIV)
14-MASALA (6 = 1)
1.developer - 36 ball
2.ƒυтвσĻιѕт - 26 ball
3.Akbarali - 21 ball
4.DjHuSo - 6 ball
5.program - 3 ball
G'olibga homiylar:
-developer - 30 qiwi menda
-DjHuSo - 5000 paynet menda
-Mahmudjon - 20 qiwi menda
MASALALAR:
1-MASALA (mini kalkulyator)
2-MASALA (kalkulyator)
3-MASALA (matn simvollar soni)
4-MASALA (habar yozilgan vaqt)
5-MASALA (Palonchiyev P.P)
6-MASALA (Sonlarni o'qitish)
7-MASALA (.txt kalitni tekshirish)
8-MASALA (30 soniya)
9-MASALA (nechanchi harf)
10-MASALA (a nechta)
11-MASALA (array sort)
12-MASALA (bosh harf)
13-MASALA (AKTIV)
14-MASALA (6 = 1)
15-MASALA(+8 BALL):N o'zgaruvchi berilgan:
Uni sahifalarga (betlarga) bo'lishimiz kerak.masalan 1-betda 91dan 100gacha chiqsin(quyidagi rasmga qarang!)
2-bet bosilsa 81dan 90gacha chiqsin va hakazo.Tekislanish ohirgi betga nisbatan bo'lsin.Yani
$n ga 95 qiymat berilsa 1-betda 91 dan 95 gacha son chiqsin.
$n='100'; //malumot soni
Uni sahifalarga (betlarga) bo'lishimiz kerak.masalan 1-betda 91dan 100gacha chiqsin(quyidagi rasmga qarang!)
2-bet bosilsa 81dan 90gacha chiqsin va hakazo.Tekislanish ohirgi betga nisbatan bo'lsin.Yani
$n ga 95 qiymat berilsa 1-betda 91 dan 95 gacha son chiqsin.
Biriktirilgan fayllar [1]:
— pagetelegram.png (47.01 KB) (97 ↴)
— pagetelegram.png (47.01 KB) (97 ↴)
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 207 ta
So'ngi faollik vaqti: 21:54:12, 29 Sep 2022