first commit
This commit is contained in:
11
_ajax/update_presence.php
Normal file
11
_ajax/update_presence.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
include('../_class/class_sql.php');
|
||||
trigger_error('lefut', E_USER_ERROR);
|
||||
|
||||
if ($_GET['checked']) {
|
||||
$sql = new sql('localhost','root','','badminton_coach');
|
||||
$sql->insert_into('presence', array('pr_user_kid_uk_id' => $_GET['userid'], 'pr_training_tr_id' => '9'));
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user