- Usage of materialize css framework

- outsourcing functions to new lib/api.php
This commit is contained in:
marko
2020-10-27 06:40:33 +01:00
parent 15df17bbd9
commit b6f6bbbacc
5 changed files with 47 additions and 15 deletions

10
homepage/mams/lib/api.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
function processPostData($db, $post){
if($post['action']){
giveJudokasAttendence($db, $post['attandanceDate'], $post['judokaIdsInTraining']);
header("Location: .");
}
return;
}
?>