From 4562f56993311daf503d1b945e087d99cf74c4ea Mon Sep 17 00:00:00 2001 From: biglyderv Date: Mon, 3 Feb 2025 06:51:31 -0500 Subject: [PATCH] test followjson --- docs/api/followjson.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/api/followjson.php 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(); +?>