Last FMS alarms query("SELECT id, time, fms, status, direction, tsi FROM ".$tableFMS." ORDER BY id DESC LIMIT 50"); $Rows = array(); while ($daten = $db->fetchAssoc()) { $Rows[] = $daten; } $tpl['fms'] = $Rows; foreach ($tpl['fms'] as $fms) { $time = strtotime($fms['time']); $time = date("d.m.Y H:i:s", $time); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } ?>
ID Datum - Zeit FMS Stat. Richt. TKI
". $fms['id'] . "". $time . "". $fms['fms'] . "". $fms['status'] . "". $fms['direction'] . "". $fms['tsi'] . "