copied files
This commit is contained in:
1 parent
ce86705134
commit
52d1f4fb3c
35 files changed
+28725
No files matched your search
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require_once("messagetable.php");
|
||||
try {
|
||||
$start = $db->real_escape_string($_REQUEST['start']);
|
||||
$q = $db->query("select id, UNIX_TIMESTAMP(time) as time, user, msg from message where id>$start;");
|
||||
echo json_encode($q->fetch_all(MYSQLI_ASSOC));
|
||||
} catch (Exception $e) {
|
||||
echo json_encode(null);
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user