add text to telegraph )))
This commit is contained in:
parent
19d9621b2d
commit
d7ea0d8faa
@ -48,7 +48,7 @@ if ($username && $password) {
|
||||
|
||||
$sms = db::c()->query('SELECT * FROM `telegraph` WHERE `receiver` = ?i', $data['id']);
|
||||
while ($res = $sms->fetch_assoc()) {
|
||||
db::c()->query('INSERT INTO `chat` (`touid`, `msg`, `type`) VALUES (?i, "?s", "?s")', $res['receiver'], $res['msg'], 'sms');
|
||||
db::c()->query('INSERT INTO `chat` (`touid`, `msg`, `type`) VALUES (?i, "?s", "?s")', $res['receiver'], $res['text'], 'sms');
|
||||
}
|
||||
db::c()->query('DELETE FROM `telegraph` WHERE `receiver` = ?i', $data['id']);
|
||||
header("Location: fight.php");
|
||||
|
Loading…
Reference in New Issue
Block a user