Read appointments from JSON feed

This commit is contained in:
coolneng 2020-07-08 14:43:22 +02:00
parent 9858920b11
commit d013659e74
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 9 additions and 1 deletions

8
src/appointment-feed.php Normal file
View File

@ -0,0 +1,8 @@
<?php
include 'appointment_management.php';
$pdo = connectDatabase();
$events = listEvents($pdo);
echo $events;
closeDatabase($pdo);
?>

View File

@ -24,7 +24,7 @@
},
events: "http://localhost:8000/appointment_management.php",
events: "appointment-feed.php",
eventRender: function(event, element, view) {