diff --git a/lib/chat.php b/lib/chat.php index d42dfb795dd9202efab6f55598779c5dc6bb3e1b..8741ecd012498d8874b7c2fbc0f5938a98bd2dcf 100644 --- a/lib/chat.php +++ b/lib/chat.php @@ -1,8 +1,7 @@ -<?php - require("datenbank.inc.php"); - require_once("class/chat.class.php"); - $id = intval( $_GET['lastTimeID'] ); - $jsonData = chatClass::getRestChatLines($id); - //db_query("INSERT INTO json (text) VALUES ('". $jsonData ."')"); - print $jsonData; +<?php + require("datenbank.inc.php"); + require_once("class/chat.class.php"); + $id = intval( $_GET['lastTimeID'] ); + $jsonData = chatClass::getRestChatLines($id); + print $jsonData; ?> \ No newline at end of file