mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-06 21:39:39 +00:00
24 lines
924 B
PHP
24 lines
924 B
PHP
<?php
|
|
include('../config.inc.php');
|
|
include('../../include/functions.inc.php');
|
|
if (!$conn = @pg_pconnect($conn_string))
|
|
die("Es konnte keine Verbindung zum Server aufgebaut werden.");
|
|
$sql_query="INSERT INTO lektor (uid, titel, vornamen, nachname,gebdatum, gebort, gebzeit,emailtw,emailforw,emailalias,kurzbz,teltw,fixangestellt) ";
|
|
$sql_query.="VALUES('$uid','$titel','$vornamen','$nachname','$gebdatum','$gebort','00:00','$emailtw','$emailforw','$emailalias','$kurzbz','$teltw','$fixangestellt')";
|
|
//echo $sql_query;
|
|
if(!($erg=pg_exec($conn, $sql_query)))
|
|
die(pg_errormessage($conn));
|
|
?>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Lektor Speichern</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<link rel="stylesheet" href="../../include/styles.css" type="text/css">
|
|
</head>
|
|
<body class="background_main">
|
|
<h4>Lektor Speichern</h4>
|
|
Speichern erfolgreich!
|
|
</body>
|
|
</html>
|