Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=36366
Postga havola
ceouz [70] [off]
MrShahzodbek,
qolgani else qilib olsangiz buladi ya'ni agar malumot mavjud bulsa
$statement = $connect->prepare('SELECT * FROM channel WHERE join_id=:login'); $statement->bindParam(':login', $chat_id, PDO::PARAM_STR); $statement->execute(); $row = $statement->fetchAll(); if(!$row){ return "У вас нет каналов"; }
qolgani else qilib olsangiz buladi ya'ni agar malumot mavjud bulsa