From c2897357cc7b77723aa816724d60f6a14a9fb177 Mon Sep 17 00:00:00 2001 From: Goeran Heinemann Date: Wed, 18 Mar 2020 23:10:19 +0100 Subject: [PATCH] place = --- html/laender.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/laender.php b/html/laender.php index fa11c97..0f09f3e 100644 --- a/html/laender.php +++ b/html/laender.php @@ -15,7 +15,7 @@ include "../config.php"; if(isset($_GET['land'])){ - $sql = "SELECT scans.id, place, amount, deaths, active, cured, time FROM `data` inner join scans on scans.id=data.scan WHERE place like ? group by amount order by time asc "; + $sql = "SELECT scans.id, place, amount, deaths, active, cured, time FROM `data` inner join scans on scans.id=data.scan WHERE place = ? group by amount order by time asc "; //$sql = "SELECT scans.id, place, amount, deaths, active, cured, time FROM `data` inner join scans on scans.id=data.scan WHERE place like ? group by amount order by time desc "; $stmt = $pdo->prepare($sql); $like = "%".trim($_GET['land'])."%";