This commit is contained in:
Ricsi
2017-09-23 17:06:39 +02:00
parent 63bdbf9888
commit eb2e9b9e3f
63 changed files with 2211 additions and 57 deletions

14
_ajax/create_category.php Executable file
View File

@@ -0,0 +1,14 @@
<?php
//tag listánál ez adja vissza a keresés eredményét
ini_set('include_path', '../_class/');
include('class_sql.php');
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('bc_mysql','root','','badminton_coach');
else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
echo json_encode($sql->insert_into('user_group_category', array(
'ugc_name' => $_POST['category_name'],
'ugc_user_group_ug_id' => $_POST['group_id']
)));
?>