Update sendmessage.php
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user