tabelle nicht anzeigen

This commit is contained in:
Göran Heinemann 2020-03-08 13:47:14 +01:00
parent 89580785e7
commit a5eeee48cc

View File

@ -22,7 +22,7 @@ if(isset($_GET['land'])){
$stmt->bindParam(1, $like); $stmt->bindParam(1, $like);
$stmt->execute(); $stmt->execute();
$data = $stmt->fetchAll(PDO::FETCH_ASSOC); $data = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo '<table style="width: 100%">'; /*echo '<table style="width: 100%">';
echo '<tr><th>id</th><th>Scan-No</th><th>infected</th><th>dead</th><th>active</th><th>cured</th><th>time</th></tr>'; echo '<tr><th>id</th><th>Scan-No</th><th>infected</th><th>dead</th><th>active</th><th>cured</th><th>time</th></tr>';
foreach ($data as $row){ foreach ($data as $row){
echo '<tr>'; echo '<tr>';
@ -30,7 +30,7 @@ if(isset($_GET['land'])){
echo '<td>'.$item.'</td>'; echo '<td>'.$item.'</td>';
} }
echo '</tr>'; echo '</tr>';
} }*/
echo '</table>'; echo '</table>';
} }
?> ?>