$raqam = 16;
$ildiz = sqrt($raqam);
echo "Kiritilgan raqamning kvadrat ildizi: " . $ildiz;
π₯ PHP da kvadrat ildizini hisoblovchi #funksiya
β¨οΈ Dasturchi: @goodsmm_help
π Manba: @WebCoder_Team
$ildiz = sqrt($raqam);
echo "Kiritilgan raqamning kvadrat ildizi: " . $ildiz;
Please open Telegram to view this post
VIEW IN TELEGRAM
π8β€3π3β‘2β€βπ₯1π₯1π1
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
κ―π€κ―|κ―β’|κ― Ξ±ΡΟΞ±ΠΌ ΡΟ
ΡΟΞ±Ξ·ΡΠΊΡ κ―|β’κ―|κ―π₯κ―|κ―β’
Mukammal Botlar Dasturchisi! @WebCoder_Team va @QoraCoders_Uz asoschisi! Ψ§ΩΨΩ
Ψ― ΩΩΩ
β€βπ₯3β‘3β€3
// MySQL ulanish ma'lumotlari
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "mydatabase";
// MySQL ulanishni ochildik
$conn = new mysqli($servername, $username, $password, $dbname);
// Ulanishni tekshirish
if ($conn->connect_error) {
die("Ulanishda xatolik: " . $conn->connect_error);
}
// Guruh nomini olish
$groupName = "Guruh1";
// SQL so'rovni tuzish
$sql = "SELECT member_name FROM members
INNER JOIN groups ON members.group_id = groups.group_id
WHERE groups.group_name = '$groupName'";
$result = $conn->query($sql);
// A'zolarni chiqarish
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
echo $row["member_name"] . "<br>";
}
} else {
echo "A'zolar topilmadi!";
}
// Ulanishni yopish
$conn->close();
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "mydatabase";
// MySQL ulanishni ochildik
$conn = new mysqli($servername, $username, $password, $dbname);
// Ulanishni tekshirish
if ($conn->connect_error) {
die("Ulanishda xatolik: " . $conn->connect_error);
}
// Guruh nomini olish
$groupName = "Guruh1";
// SQL so'rovni tuzish
$sql = "SELECT member_name FROM members
INNER JOIN groups ON members.group_id = groups.group_id
WHERE groups.group_name = '$groupName'";
$result = $conn->query($sql);
// A'zolarni chiqarish
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
echo $row["member_name"] . "<br>";
}
} else {
echo "A'zolar topilmadi!";
}
// Ulanishni yopish
$conn->close();
β€βπ₯4β€2π2β‘1
CREATE TABLE groups (
group_id INT PRIMARY KEY,
group_name VARCHAR(50)
);
CREATE TABLE members (
member_id INT PRIMARY KEY,
member_name VARCHAR(50),
group_id INT,
FOREIGN KEY (group_id) REFERENCES groups(group_id)
);
βοΈ #funksiya MySqlda guruh aΚΌzolarini koΚ»rsatuvchi funksiya
π Dasturchi: @Vohalik_Coder
π Manba: @WebCoder_Team
group_id INT PRIMARY KEY,
group_name VARCHAR(50)
);
CREATE TABLE members (
member_id INT PRIMARY KEY,
member_name VARCHAR(50),
group_id INT,
FOREIGN KEY (group_id) REFERENCES groups(group_id)
);
Please open Telegram to view this post
VIEW IN TELEGRAM
π4β2β€2β€βπ₯1
πππππ¨πππ« ππππ¦
// MySQL ulanish ma'lumotlari $servername = "localhost"; $username = "root"; $password = ""; $dbname = "mydatabase"; // MySQL ulanishni ochildik $conn = new mysqli($servername, $username, $password, $dbname); // Ulanishni tekshirish if ($conn->connect_error)β¦
Please open Telegram to view this post
VIEW IN TELEGRAM
π4β€2β‘2π1
β€4π1
https://1win.run/?p=CYZh
1οΈβ£ Hamkorlikka chorlaydi shunchaki havola orqali kiring va 1-depozit uchun 500% bonus oling! Shoshiling allaqachon 30 mln odam oΚ»z pulini olib boΚ»ldi
Please open Telegram to view this post
VIEW IN TELEGRAM
1win Partners
1win Partner & Affiliate Program: Login, Join & Collaborate
Join the official 1win Partner & Affiliate Program. Access exclusive benefits, log in to your affiliate account, and collaborate with a top-tier platform. Connect with 1win today.
β€2π2β€βπ₯1π1
Please open Telegram to view this post
VIEW IN TELEGRAM
β€5β€βπ₯3π3
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
IT News | <β§Team>π«Ά
Bu kanal qoΚ»shimcha funksiyalarni ochishiga yordam berish uchun unga ovoz bering.
β€22π13π₯8π7β€βπ₯1
π€© Ushbu bot xizmatidan foydalanib, siz
βοΈAgar bot funksiyalarini foydali deb topsangiz, hoziroq doΚ»stlaringizga ham ulashing!
π’ππ¨π‘π ππ’'πππ‘π
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π³3π3β€βπ₯2
Kimda YOUTUBE Kanal Bor Rozi Qilamanβ
@Azizbeekh
Please open Telegram to view this post
VIEW IN TELEGRAM
β€4π4
<?php
$api_key = "YOUR_API_KEY";
$channel_id = "CHANNEL_ID";
$url = "https://www.googleapis.com/youtube/v3/channels?part=snippet&id=$channel_id&key=$api_key";
$response = file_get_contents($url);
$data = json_decode($response, true);
// Kanal ma'lumotlarini chiqaring
$channel_name = $data['items'0'snippet''title';
$channeldescription = $data['items'][0]['snippet']['description'];
$channelthumbnail = $data'items'0'snippet''thumbnails''default''url';
// Kanal ma'lumotlarini ekranga chiqaring
echo "Kanal nomi: ".$channelname."<br>";
echo "Kanal tavsifi: ".$channeldescription."<br>";
echo "Kanal tasviri: <img src='".$channelthumbnail."'><br>";
?>
@QoraCoders_Uz
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3β€βπ₯1π³1
@Vohalik_Coder
Please open Telegram to view this post
VIEW IN TELEGRAM
π5β€3β‘2
Bollar kimda Insta Akk Bot Birorta Botimga Yoki Bot ochib Berishga kelisholadiganlar Yozila @Azizbeekh
β€4π2
Qani doΚ»stlar PHPsUz kanalini koΚ»tarishvoringlar , biz yangicha stilda ish boshlaymiz , bu sizga aniq yoqadi π₯°
Please open Telegram to view this post
VIEW IN TELEGRAM
π4β€3
<?php
ob_start();
error_reporting(0);
date_default_timezone_set("Asia/Tashkent");
define('API_KEY','api_token')
function bot($method,$datas=[){
$url = "https://api.telegram.org/bot".APIKEY."/".$method;
$ch = curlinit();
curlsetopt($ch,CURLOPTURL,$url);
curlsetopt($ch,CURLOPTRETURNTRANSFER,true);
curlsetopt($ch,CURLOPTPOSTFIELDS,$datas);
$res = curlexec($ch);
if(curlerror($ch)){
vardump(curlerror($ch));
}else{
return jsondecode($res);
}
}
$update = json_decode(filegetcontents('php://input'));
$message = $update->message;
$cid = $message->chat->id;
$text = $message->text;
if($text == "/start"){
bot('SendMessage',
'chat_id'=>$cid,
'text'=>"πAssalomu alaykum",
);
}
Kimgadur kerak boΚ»lib qolar π³
Koment yozila πΏ
β€3π1