11 lines
276 B
PHP
Executable File
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'));
|
|
}
|
|
|
|
?>
|