SQL error: Unknown column in 'where clause'
The value for $_GET['q'], which must be Wien, should be in quotes

$sql = "SELECT * FROM bundesland WHERE bkuerzel = '" . $_GET['q'] . "'";
$result = mysql_query($sql, $con);


Without putting quotes around $_GET['q'], mysqld thinks the value of $_GET['q'] is a field.