author | Bettina Schwarzer |
Fri, 05 Feb 2016 14:03:40 +0100 | |
changeset 44 | d652bbba2d43 |
parent 1 | 6288d5685bff |
permissions | -rw-r--r-- |
<?php /** * @author Bettina Schwarzer * @copyright 2011 */ include_once($_SERVER['DOCUMENT_ROOT'] ."/fhiiqm/inc/dbconnect.inc.php"); if (!isset($dbc) || !$dbc) $dbc = new dbconnection(); $sql = "SELECT raumtyp_ID, raumtyp_bez FROM fhiiqm.Raum_Typ ORDER BY 1"; if ($result = $dbc->queryObjectArray($sql)) { foreach ($result as $row) echo "$row->raumtyp_ID - $row->raumtyp_bez<br />\n"; } ?>