This commit is contained in:
2021-04-10 18:52:38 +02:00
parent f7929a0090
commit d82abe1dd3
49 changed files with 4009 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
<?php
ini_set('include_path', '../_class/');
include('class_sql.php');
include('../_include/include_db_conn.php');
//lekérjük a labda típusokat
$shuttle_assoc_array = $sql->assoc_array("SELECT * FROM camp_shuttle JOIN camp_shuttle_type on cst_id = cs_shuttle_id WHERE cs_camp_id = " . $_POST['camp_id']);
$shuttle_array = array();
foreach ($shuttle_assoc_array as $shuttle) {
$shuttle_array[$shuttle['cst_id']] = $shuttle['cst_name'];
}
echo json_encode($shuttle_assoc_array);
?>