diff --git a/html/index.php b/html/index.php
index e24f8c5..a757dd2 100644
--- a/html/index.php
+++ b/html/index.php
@@ -52,9 +52,7 @@ if (isset($_GET['source'])){
echo '
id | Scan-No | Place | infected | dead | active | cured |
';
foreach ($data as $row){
echo '';
- foreach ($row as $item){
- echo ''.$item.' | ';
- }
+ echo ''.$row['id'].' | '.$row['scan'].' | '.$row['place'].' | '.$row['amount'].' | '.$row['deaths'].' | '.$row['active'].' | '.$row['cured'].' | ';
echo '
';
}
echo '';
diff --git a/html/laender.php b/html/laender.php
new file mode 100644
index 0000000..2b0dfcb
--- /dev/null
+++ b/html/laender.php
@@ -0,0 +1,21 @@
+prepare($sql);
+ $like = "%".trim($_GET['land'])."%";
+ $stmt->bindParam(1, $like);
+ $stmt->execute();
+ $data = $stmt->fetchAll(PDO::FETCH_ASSOC);
+ echo '';
+ echo 'id | Scan-No | infected | dead | active | cured | time |
';
+ foreach ($data as $row){
+ echo '';
+ foreach ($row as $item) {
+ echo ''.$item.' | ';
+ }
+ echo '
';
+ }
+ echo '
';
+}