diff --git a/chat.php b/chat.php index 9a0c9df..fe5a892 100644 --- a/chat.php +++ b/chat.php @@ -16,7 +16,7 @@ $chat = db::c()->query('SELECT * FROM `chat` ORDER BY `id` DESC LIMIT 50'); while ($message = $chat->fetch_assoc()) { $d = new DateTime($message['msgdate']); - echo $d->format('H:i').": " . $message['msg']; + echo $d->format('H:i').": " . $message['msg']."
"; }