fixing deprecated stuff

removed deprecated functions
adpating to db-structure
This commit is contained in:
Florian 2017-08-23 23:38:16 +02:00 committed by GitHub
parent 61398d95cb
commit 4c60d501b5
3 changed files with 14 additions and 13 deletions

View file

@ -10,7 +10,7 @@
</tr>
<?php
$db->query("SELECT id, time, ric, funktion, text, description FROM ".$tablePOC." ORDER BY id DESC LIMIT 100");
$db->query("SELECT id, time, ric, function, msg, description FROM ".$tablePOC." ORDER BY id DESC LIMIT 100");
$Rows = array();
while ($daten = $db->fetchAssoc())
{
@ -29,11 +29,11 @@
// echo "<td>". $poc['id'] . "</td>";
//
echo "<td>". $poc['description'] . "</td>";
echo "<td>". $poc['text'] . "</td>";
echo "<td>". $poc['msg'] . "</td>";
echo "<td>". $time . "</td>";
echo "<td>". $poc['ric'] . "</td>";
echo "<td>". $poc['funktion'] . "</td>";
echo "<td>". $poc['function'] . "</td>";
echo "</tr>";
}
?>
</table>
</table>