prepare("SELECT * FROM main.follow"); $stmt->execute([]); $result = $stmt->fetchAll(PDO::FETCH_DEFAULT); $result = array_reverse($result,true); echo json_encode($result); } get_handler(); ?>