I just started with PHP and I don't understand why this line won't work
$zoek = '2341 KG';
foreach ($pdo->query ("select * from blad1 where Postkode = $zoek" ) as $klant)
but this one does work perfect
foreach ($pdo->query ("select * from blad1 where Postkode = '2341 KG' " ) as $klant)