<b>Auszug:</b> <select name=statement>
<option>
<?
- $query = "SELECT DISTINCT statement FROM $table WHERE blz_kto = $blzkto ORDER BY statement";
+ $query = "SELECT DISTINCT statement FROM $table WHERE blz_kto = '$blzkto' ORDER BY statement";
$sth = pg_exec ($dbh, $query);
for ($nr=0; $nr <pg_NumRows ($sth); $nr++) {
<b>Kategorie:</b> <select name=category>
<option>
<?
- $query = "SELECT DISTINCT category FROM $table WHERE blz_kto = $blzkto ORDER BY category";
+ $query = "SELECT DISTINCT category FROM $table WHERE blz_kto = '$blzkto' ORDER BY category";
$sth = pg_exec ($dbh, $query);
for ($nr=0; $nr <pg_NumRows ($sth); $nr++) {
<b>Abs./Empf.:</b> <select name=from_to>
<option>
<?
- $query = "SELECT DISTINCT from_to FROM $table WHERE blz_kto = $blzkto ORDER BY from_to";
+ $query = "SELECT DISTINCT from_to FROM $table WHERE blz_kto = '$blzkto' ORDER BY from_to";
$sth = pg_exec ($dbh, $query);
for ($nr=0; $nr <pg_NumRows ($sth); $nr++) {