Introducing API feature (get these by author name).

This commit is contained in:
Florian SYLVAIN
2021-09-24 11:11:30 +02:00
parent 9774eb87f9
commit 241c411a87
2 changed files with 32 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
require_once("class/dump.php");
$author_name = $_GET['author'];
$these_array = dump::getTheseByAuthor($author_name);
$json = json_encode($these_array, JSON_PRETTY_PRINT);
echo '<pre>';
var_dump($json);
echo '</pre>';