Files
code-cegled/_ajax/update_presence.php
2016-11-10 19:08:45 +01:00

11 lines
276 B
PHP
Executable File

<?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'));
}
?>