Чат на коленке

This commit is contained in:
lopar 2018-03-02 01:53:52 +02:00
parent 458f182cef
commit 7ccf4939e3

View File

@ -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']."<br>";
}