Update sendmessage.php

This commit is contained in:
jakani24
2024-03-12 15:30:50 +01:00
parent e4badb6e68
commit e28496b9d9

View File

@@ -4,7 +4,7 @@
function send($message){ function send($message){
//get apikey of telegram bot //get apikey of telegram bot
$sql = "SELECT value FROM settings WHERE name = 'telegram_bot'"; $sql = "SELECT * FROM settings WHERE name = 'telegram_bot'";
$stmt = $conn->prepare($sql); $stmt = $conn->prepare($sql);
// Execute the statement // Execute the statement
$stmt->execute(); $stmt->execute();