<?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; ?>