diff --git a/docs/api/followjson.php b/docs/api/followjson.php new file mode 100644 index 0000000..d69a2db --- /dev/null +++ b/docs/api/followjson.php @@ -0,0 +1,16 @@ +prepare("SELECT * FROM main.follow"); + $stmt->execute([]); + $result = $stmt->fetchAll(PDO::FETCH_DEFAULT); + $result = array_reverse($result,true); + + echo json_encode($result); + } + + get_handler(); +?>