- Usage of materialize css framework
- outsourcing functions to new lib/api.php
This commit is contained in:
10
homepage/mams/lib/api.php
Normal file
10
homepage/mams/lib/api.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
function processPostData($db, $post){
|
||||
if($post['action']){
|
||||
giveJudokasAttendence($db, $post['attandanceDate'], $post['judokaIdsInTraining']);
|
||||
header("Location: .");
|
||||
}
|
||||
return;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user