mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 15:04:04 +00:00
Anpassung der RDFs an Datenbankklasse
This commit is contained in:
@@ -29,12 +29,9 @@ header("Content-type: application/xhtml+xml");
|
||||
// xml
|
||||
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
|
||||
// DAO
|
||||
require_once('../vilesci/config.inc.php');
|
||||
require_once('../config/vilesci.config.inc.php');
|
||||
require_once('../include/basis_db.class.php');
|
||||
|
||||
// Datenbank Verbindung
|
||||
if (!$conn = pg_pconnect(CONN_STRING))
|
||||
die('Es konnte keine Verbindung zum Server aufgebaut werden!');
|
||||
|
||||
$rdf_url='http://www.technikum-wien.at/betreuerart';
|
||||
|
||||
echo '
|
||||
@@ -47,10 +44,10 @@ echo '
|
||||
';
|
||||
|
||||
$qry = "SELECT * FROM lehre.tbl_betreuerart ORDER BY betreuerart_kurzbz";
|
||||
|
||||
if($result = pg_query($conn, $qry))
|
||||
$db = new basis_db();
|
||||
if($db->db_query($qry))
|
||||
{
|
||||
while($row = pg_fetch_object($result))
|
||||
while($row = $db->db_fetch_object())
|
||||
{
|
||||
echo '
|
||||
<RDF:li>
|
||||
|
||||
Reference in New Issue
Block a user