Changeset 402 for trunk/info/info/alkisn/alkisnamstruk.php
- Timestamp:
- 04/23/18 15:33:39 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/info/info/alkisn/alkisnamstruk.php
r398 r402 12 12 2017-10-17 Deutsches Datumsformat im Geburtsdatum 13 13 2017-12-20 Anlass und Datum zur Adresse ausgeben, wenn es mehrere gibt oder SchlÃŒssel angefordert werden 14 2018-04-23 &nodebug 14 15 */ 15 16 session_start(); 16 17 $multiadress="n"; $showkey="n"; // Var. aus Parameter initalisieren 17 $multiadress="n"; $showkey="n"; $nodebug=""; // Var. aus Parameter initalisieren 18 18 $cntget = extract($_GET); // Parameter in Variable umwandeln 19 19 … … 24 24 if ($showkey == "j") {$showkey=true;} else {$showkey=false;} 25 25 if (!preg_match('#^[j|n]{0,1}$#', $multiadress)) {die ("Eingabefehler multiadress");} 26 if (!preg_match('#^j{0,1}$#', $nodebug)) {die("Eingabefehler nodebug");} 26 27 27 28 require_once("alkis_conf_location.php"); … … 47 48 48 49 <?php 49 50 // Balken 51 echo "<p class='nakennz'>ALKIS Name id=".$gmlid." </p>\n" 50 // Mit URL-Parameter "&nodebug=j" kann man die Entwicklungsumgebung (in Conf definiert) ausschalten. 51 // Manuell an die URL anfÃŒgen, wirkt nur temporÀr und wird nicht in Links weiter gereicht. 52 if ($nodebug == "j") {$debug=0;} 53 54 echo "<p class='nakennz'>ALKIS Name id=".$gmlid." </p>\n" // Balken 52 55 ."\n<h2><img src='ico/Eigentuemer.png' width='16' height='16' alt=''> Person</h2>"; 53 56 $con = pg_connect($dbconn." options='--application_name=ALKIS-Auskunft_alkisnamstruk.php'"); … … 66 69 if ($debug > 2) {echo "\n<p class='dbg'>SQL=<br>".htmlentities($sql, ENT_QUOTES, "UTF-8")."<br>$1 = gml_id = '".$gmlid."'</p>";} 67 70 } 68 if ($row = pg_fetch_a rray($res)) {71 if ($row = pg_fetch_assoc($res)) { 69 72 $vor=htmlentities($row["vorname"], ENT_QUOTES, "UTF-8"); 70 73 $nam=htmlentities($row["nachnameoderfirma"], ENT_QUOTES, "UTF-8"); … … 108 111 $j=0; 109 112 // Parameter $multiadress = j zeigt ALLE Adressen an 110 while($rowa = pg_fetch_a rray($resa)) {113 while($rowa = pg_fetch_assoc($resa)) { 111 114 $j++; 112 115 if ($multiadress == "j" OR $j == 1) { … … 196 199 $i=0; 197 200 $zpaar=false; 198 while($rowg = pg_fetch_a rray($resg)) {201 while($rowg = pg_fetch_assoc($resg)) { 199 202 $gmln=$rowg["gml_n"]; 200 203 $gmlg=$rowg["gml_g"];
Note: See TracChangeset
for help on using the changeset viewer.