Live chatting now shows up in the chat-history
This commit is contained in:
@@ -5,7 +5,7 @@ include_once("../queries/private_message.php");
|
||||
if (isset($_POST["destination"]) &&
|
||||
isset($_POST["content"])) {
|
||||
|
||||
if (sendMessage($db, $_POST["destination"], $_POST["content"])) {
|
||||
if (sendMessage($_POST["destination"], $_POST["content"])) {
|
||||
echo $_POST["content"] . " is naar " . $_POST["destination"] . " gestuurd";
|
||||
} else {
|
||||
echo "YOU FAILED!!!";
|
||||
|
||||
Reference in New Issue
Block a user