This commit is contained in:
Christian Paminger
2007-06-14 10:59:25 +00:00
parent f806df9cf6
commit c5800aae47
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ $nachname=array();
<head>
<title>Diplomarbeiten-Datenkorrektur</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<link href="../../skin/vilesci_old.css" rel="stylesheet" type="text/css">
<link href="../../skin/vilesci.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php
+4 -3
View File
@@ -1,15 +1,16 @@
<?php
include('../../config.inc.php');
include('../../../include/globals.inc.php');
//include('../../../include/globals.inc.php');
include('../../../include/functions.inc.php');
$uid=USER_UID;
$uid=get_uid();
// Verbindung aufbauen
$conn=pg_pconnect(CONN_STRING) or die ("Unable to connect to SQL-Server");
$sql_query="SET search_path TO campus; SELECT uid, nachname, vorname FROM vw_benutzer WHERE uid LIKE '$uid'";
unset($uid);
//echo $sql_query;
$result=pg_query($conn, $sql_query);
if(!$result)
echo "User not found!";
else