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'])."%";