Files
admin
old
phpqrcode
#config.php
2022-01-12_unzugeordnet.php
administration_frame.php
fill_qr.php
gd_verwaltung.php
hauptframe.php
index.php
indexframe.php
liste_qr_name.php
liste_tn.php
logout.php
menu_administration.php
menu_qr.php
menu_survey.php
menu_verwaltung.php
menu_youtube.php
parameter.php
qr_code.php
qr_frame.php
save_platz.php
sitz_koord.php
sitzplatz.php
sort_table.html
sort_table.php
survey_erfassen.php
survey_frame.php
termine.php
titel.php
unzugeordnet.php
verwaltung_frame.php
warteliste.php
youtube_frame.php
bootstrap
classes
config
controller
datepicker
jquery
js
language
lib
media
mpdf
sql
survey
templates
templates_c
abmeldung.php
config.inc.php
index.php
redirect.php
survey/admin/save_platz.php
2023-03-14 14:47:50 +01:00

35 lines
817 B
PHP

<?php
if(!isset($_SESSION)) { session_start(); }
require_once("../config/datenbankanbindung.php");
$reiheplatz = $_POST['get_reiheplatz'];
$lfdtid = $_POST['get_lfdtid'];
$ka_id = $_SESSION["username"];;
$db = dbconnect();
$split1 = explode("|", $reiheplatz);
$reihe = $split1[0];
$platz = $split1[1];
$split2 = explode("|", $lfdtid);
$lfd_haushalt = $split2[0];
$termin = $split2[1];
$sql1 = $db->query("UPDATE jumi_buchung
SET reihe = '$reihe'
,platz = '$platz'
WHERE tid = $termin
AND lfd_haushalt = '$lfd_haushalt'
AND reihe = ''
");
echo "$reihe$platz";
exit;
?>