$groupstat2 = file_get_contents ($groupstat);
if($callback_data == 'stat') {
$userId = 'stat_bots.txt';
$userId2 = file_get_contents($userId);
$loop = explode("\n", $userId2);
$loops = explode ("\n", $groupstat2);
$gruppstat = count ($loops);
$userid = count($loop);
$text = "*💥Users:* \n _👱Users:_ *$userid* \n 👥Group: $guruhstat
_👑Admin_ [@MrJokkerUz](tg://user?id=$admin)
*♻️Last update:* _ $day _ ";
$res = bot('editmessagetext', [
'chat_id' => $chat_id,
'message_id' => $mid,
'text' => $text,
'parse_mode' => 'markdown',
'reply_markup' => json_encode([
'inline_keyboard' => [
[
['text' => '♻️Update', 'callback_data' => 'stat']
] ,[
['text' => '◀️Back', 'callback_data' => 'menu']
]
]
])
]);
}
which of these codes is wrong
❓
Обсуждают сегодня