first commit

This commit is contained in:
aschwarz
2023-03-14 07:16:04 +01:00
commit 6bbedc25ab
2239 changed files with 392206 additions and 0 deletions

22
func_get_sitzplatz.php Normal file
View File

@ -0,0 +1,22 @@
<?php
#require_once("config.inc.php");
function get_sitzplatz($nachname, $vorname){
$db = dbconnect();
$query_getplatz = $db->query("SELECT reihe, platz FROM gd_standardsitzplatz WHERE nachname='$nachname' AND vorname='$vorname'");
$row_getplatz = $query_getplatz->fetch_array();
if($row_getplatz['reihe'] != ''){
$platz = "$row_getplatz[reihe]|$row_getplatz[platz]";
}else{
$platz = "|";
}
return $platz;
}
#echo get_sitzplatz('Schwarz', 'Alexander');
?>