Fehler, keine Händler gefunden!"; } else { $num = pg_NumRows($result); echo "$num Händler gefunden!

"; echo ""; $F = "VALIGN=\"top\"><$T>Domain<$T>Action
Eingabezeit" . // "<$T>Status<$T>Bemerk
\n"; $i = 0; for ($i = 0; $i < $num; $i++) { $NAME = pg_Result($result, $i, "name"); $ART = pg_Result($result, $i, "art"); $BESCHREIB = pg_Result($result, $i, "beschreib"); $SORTIMENT = pg_Result($result, $i, "sortiment"); $TERMINE = pg_Result($result, $i, "termine"); $EIGENTUEMER = pg_Result($result, $i, "eigentuemer"); $STRASSE = pg_Result($result, $i, "strasse"); $PLZ = pg_Result($result, $i, "plz"); $ORT = pg_Result($result, $i, "ort"); $BUNDESLAND = pg_Result($result, $i, "bundesland"); $TEL = pg_Result($result, $i, "tel"); $FAX = pg_Result($result, $i, "fax"); $HOMEPAGE = pg_Result($result, $i, "homepage"); $EMAIL = pg_Result($result, $i, "email"); $OID = pg_Result($result, $i, "oid"); $NAME = "$NAME
$ART"; if (strlen($BESCHREIB) > 0) $NAME .= "
$BESCHREIB"; if (strlen($SORTIMENT) > 0) $NAME .= "
Sortiment: $SORTIMENT"; if (strlen($EIGENTUEMER) > 0) $NAME .= "
Eigentümer $EIGENTUEMER"; if (strlen($STRASSE) > 0) $NAME .= "$"; if (strlen($ORT) > 0) $NAME .= "
PLZ $ORT$"; if (strlen($TEL) > 0) $NAME .= "
Tel. $TEL"; if (strlen($FAX) > 0) $NAME .= "
Fax. $FAX"; if (strlen($EMAIL) > 0) $NAME .= "
Email: $EMAIL"; echo "
\n"; echo "\n"; if (strlen($TERMINE) > 0) { $TERMINE = ereg_replace("\n", "
", $TERMINE); echo "
\n"; } if (strlen($HOMEPAGE) > 0) echo "\n"; echo ""; } echo "
 
$NAME
$TERMINE
" . "Homepage: $HOMEPAGE
Edit
"; } ?>