This commit is contained in:
Christian Paminger
2006-11-27 08:46:23 +00:00
parent 69e7513333
commit 0f0296a02a
570 changed files with 69005 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
<?php
// *****************************
// Vorschlag fuer UNR liefern
// *****************************
include('../vilesci/config.inc.php');
$conn = @pg_pconnect(CONN_STRING))
if ($conn) {
$sql="select max(unr) as max_unr from tbl_lehrveranstaltung";
if(!($erg=pg_exec($conn, $sql_query))) {
$this->errormsg=pg_errormessage($conn);
return false;
}
$num_rows=pg_numrows($erg);
$result=array();
for($i=0;$i<$num_rows;$i++)
{
$row=pg_fetch_object($erg,$i);
} else {
echo 'no connection';
}
?>