PHp Problem Ferienhäuser Problem

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • PHp Problem Ferienhäuser Problem

    Guten Abend,

    vieleicht kann mir der ein oder andere hier weiterhelfen.

    Ich baue gerade an einer Seite für das Inserieren von Ferienhäuser. Ein Vermieter von Ferienhäuser soll ein Haus anlegen können. Dazu soll in verschiedenen PHP Dateien Eckdaten (Straße, Ort),, Ausstattungsmerkmale, Freizeitmöglichkeiten, Keywords und Bilder eingeben können. Auf der letzten Seite soll er dann eine Zusammenfassung aller eingebenen Häuser erhalten. Auf jeder Weißen Karte soll ein einzelnen Haus mit dessen Attributen abgebildet sein.

    Der Code dieser Seite ist wie folgt:​

    PHP-Code:
      <?php  //Aufbau der Verbindung   require("connection.php");    //Starten der Seasson   session_start();       //Einbinden css Datei  echo '<link rel="stylesheet" type="text/css" href="styleneu.css">';  
    $Merker=$_SESSION["eigentuemer_ID"];//Übergabe der gemerkten ID_Eigentümer    //Ergebnisliste Kerndaten produzieren produzieren  $stmt = $con->prepare(      "SELECT *       FROM haeuser as h,ausstattungsmerkmale as a, freizeitmoeglichkeiten as f, keywords as k      WHERE h.eigentuemer_ID=a.eigentuemer_ID AND h.eigentuemer_ID= f.eigentuemer_ID AND h.eigentuemer_ID= k.eigentuemer_ID       AND h.Haus_ID=a.Haus_ID AND h.Haus_ID=f.Haus_ID AND h.Haus_ID=k.Haus_ID ");    $result= $stmt->execute();  $Ergebnisliste = $stmt->fetchAll();    ?>  <!DOCTYPE html>  <html>  <head>      <meta charset="UTF-8">      <meta http-equiv="X-UA-Compatible" content="IE=edge">      <meta name="viewport" content="width=device-width, initial-scale=1.0">      <title>Übersicht</title>      <link href="stylewebproject.css" rel="stylesheet">        <script src="main.js"></script>  </head>    <body>    <header>      <div class="headerimage">          <div> <img class="Startseitelogo"                  src="Bilder/Ferienhauser_Logo.jpg"                  alt="Logo Ferienportal"                 /></div>      </div> 
        <div class="topnav">          <a href="frontpage.php">Startseite</a>          <a href="Angebote.php">Angebote</a>          <?php               if(isset($_SESSION['eigentuemer_ID']) && !empty($_SESSION['eigentuemer_ID'])) {                  echo "<a href='Verwaltung.php' >Verwaltung</a>";                  }               else{              echo "<a href='login.php'>Verwaltung</a>";          }?>          <?php               if(isset($_SESSION['eigentuemer_ID']) && !empty($_SESSION['eigentuemer_ID'])) {                  echo "<p class='Schriftrechts'>Anmeldung als: <?php echo $_SESSION[username]; ?></p>";                  }               else{                    }?>      </div>  </header>    <div class="row">        <div class="VerwaltungscontainerHeader">              <h2>Übersicht deiner eingebenen Häuser, <?php echo $_SESSION["Vorname"]?> !</h2>      </div>      <div class="UebersichtHauserContainer">          <?php          foreach($Ergebnisliste as $row):                    ?>          <div class="card">              <div class="ContainerRechts" >                  <p>Ferienhaus: <?= $row['Name']; ?></p>                  <p>Haus ID: <?= $row['Haus_ID']; ?></p>                  <p>Registrierungsdatum  <?= $row['Registrierungsdatum']; ?></p>                  <p> Ausstattungs ID <?= $row['ausstattung_id']; ?></h3> </p>                  <p> freizeitmoeglichkeiten ID <?= $row['freizeitmoeglichkeiten_id']; ?></p> </p>                  <?php                      foreach($Ergebnisliste as $row):                      echo $row['keywords'];                  ?>                  <?php endforeach?>                </div>          </div>                      <?php      endforeach;      ?>      </div>  </div>    <div class="footer">      <a href="impressum.php">Impressum</a>      <a href="kontakt.php">Kontakt</a>      <a href="datenschutz.php">Datenschutz</a>      <div> <img class="footerlogo"                      src="Bilder/Ferienhauser_Logo.jpg"                      alt="Logo Ferienportal"                     /></div>  </div> 
    </body>  </html> 
    zz0.imctmvdey3zz

    Problem ist for each-Schleife für die Keywords (und dann auch die Bilder). Hab mal im Anhang die Screenshots von den Tabellen der Keywords angehangen. Über einen Input können für jedes eingebenen Haus mehrere Keywords eingebenen werden.
    Die Ausgabe produziert dann aber nicht schön komprimiiert für jedes Haus die dazuhehörigen Keywords gemäß HausID, sondern als einzelne Ausgaben.

    Wie könnte ich das so lösen, dass es für jedes eingebene Haus (also jeder einzelne HausID) auch natürlich nur einmal die Keywordliste ausgebenen werden?

    Sinnhaftigkeit des Codes bitte nicht diskustieren. Mir geht es nur darauf, dass zu jedem Haus bzw. zu jeder Haus_ID die dazugehörigen Keywords als Liste ausgegeben werden...


    zz0.mcgjur3mcshzz
    Angehängte Dateien

  • #2
    So wie der Quellcode gepostet wurde, wird sich das niemand ernsthaft ansehen.

    Kommentar


    • #3
      Hier nochmal der Quellcode

      [COLOR=#be5046]<?php[/COLOR]
      [COLOR=#7f848e]//Aufbau der Verbindung [/COLOR]
      [COLOR=#c678dd]require[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#98c379]"connection.php"[/COLOR][COLOR=#abb2bf]);[/COLOR]
      [COLOR=#7f848e]//Starten der Seasson [/COLOR]
      [COLOR=#56b6c2]session_start[/COLOR][COLOR=#abb2bf](); [/COLOR]
      [COLOR=#7f848e]//Einbinden css Datei[/COLOR]
      [COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]'<link rel="stylesheet" type="text/css" href="styleneu.css">'[/COLOR][COLOR=#abb2bf]; [/COLOR]

      [COLOR=#e06c75]$Merker[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]"eigentuemer_ID"[/COLOR][COLOR=#abb2bf]];[/COLOR][COLOR=#7f848e]//Übergabe der gemerkten ID_Eigentümer[/COLOR]
      [COLOR=#7f848e]//Ergebnisliste Kerndaten produzieren produzieren[/COLOR]
      [COLOR=#e06c75]$stmt[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$con[/COLOR][COLOR=#abb2bf]->[/COLOR][COLOR=#61afef]prepare[/COLOR][COLOR=#abb2bf]([/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"[/COLOR][COLOR=#c678dd]SELECT[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#abb2bf]*[/COLOR]
      [COLOR=#98c379] [/COLOR][COLOR=#c678dd]FROM[/COLOR][COLOR=#98c379] haeuser [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] h,ausstattungsmerkmale [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] a, freizeitmoeglichkeiten [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] f, keywords [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] k[/COLOR]
      [COLOR=#98c379] [/COLOR][COLOR=#c678dd]WHERE[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]a[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]f[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]k[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#98c379] [/COLOR]
      [COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]a[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]f[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]k[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#98c379] [/COLOR]
      [COLOR=#98c379] [/COLOR][COLOR=#98c379]"[/COLOR][COLOR=#abb2bf]);[/COLOR]
      [COLOR=#e06c75]$result[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$stmt[/COLOR][COLOR=#abb2bf]->[/COLOR][COLOR=#61afef]execute[/COLOR][COLOR=#abb2bf]();[/COLOR]
      [COLOR=#e06c75]$Ergebnisliste[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$stmt[/COLOR][COLOR=#abb2bf]->[/COLOR][COLOR=#61afef]fetchAll[/COLOR][COLOR=#abb2bf]();[/COLOR]
      [COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
      [COLOR=#abb2bf]<![/COLOR][COLOR=#e06c75]DOCTYPE[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]html[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]html[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]head[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]meta[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]charset[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"UTF-8"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]meta[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]http-equiv[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"X-UA-Compatible"[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]content[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"IE=edge"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]meta[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]name[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"viewport"[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]content[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"width=device-width, initial-scale=1.0"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]title[/COLOR][COLOR=#abb2bf]>Übersicht</[/COLOR][COLOR=#e06c75]title[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]link[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"stylewebproject.css"[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]rel[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"stylesheet"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]script[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]src[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"main.js"[/COLOR][COLOR=#abb2bf]></[/COLOR][COLOR=#e06c75]script[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]head[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]body[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]header[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"headerimage"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]> <[/COLOR][COLOR=#e06c75]img[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Startseitelogo"[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]src[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Bilder/Ferienhauser_Logo.jpg"[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]alt[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Logo Ferienportal"[/COLOR][COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] /></[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]

      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"topnav"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"frontpage.php"[/COLOR][COLOR=#abb2bf]>Startseite</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Angebote.php"[/COLOR][COLOR=#abb2bf]>Angebote</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]if[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#56b6c2]isset[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]]) [/COLOR][COLOR=#56b6c2]&&[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]!empty[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]])) {[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"<a href='Verwaltung.php' >Verwaltung</a>"[/COLOR][COLOR=#abb2bf];[/COLOR]
      [COLOR=#abb2bf] } [/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]else[/COLOR][COLOR=#abb2bf]{[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"<a href='login.php'>Verwaltung</a>"[/COLOR][COLOR=#abb2bf];[/COLOR]
      [COLOR=#abb2bf] }[/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]if[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#56b6c2]isset[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]]) [/COLOR][COLOR=#56b6c2]&&[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]!empty[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]])) {[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"<p class='Schriftrechts'>Anmeldung als: <?php echo [/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#98c379][username]; ?></p>"[/COLOR][COLOR=#abb2bf];[/COLOR]
      [COLOR=#abb2bf] } [/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]else[/COLOR][COLOR=#abb2bf]{[/COLOR]
      [COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] }[/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
      [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]header[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"row"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"VerwaltungscontainerHeader"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]h2[/COLOR][COLOR=#abb2bf]>Übersicht deiner eingebenen Häuser, [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]"Vorname"[/COLOR][COLOR=#abb2bf]][/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf] !</[/COLOR][COLOR=#e06c75]h2[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"UebersichtHauserContainer"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]foreach[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$Ergebnisliste[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]as[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf]):[/COLOR]
      [COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"card"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"ContainerRechts"[/COLOR][COLOR=#abb2bf] >[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>Ferienhaus: [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'Name'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>Haus ID: [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'Haus_ID'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>Registrierungsdatum [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'Registrierungsdatum'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]> Ausstattungs ID [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'ausstattung_id'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]h3[/COLOR][COLOR=#abb2bf]> </[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]> freizeitmoeglichkeiten ID [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'freizeitmoeglichkeiten_id'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]> </[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]foreach[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$Ergebnisliste[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]as[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf]):[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'keywords'[/COLOR][COLOR=#abb2bf]];[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]endforeach[/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]


      [COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]endforeach[/COLOR][COLOR=#abb2bf];[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
      [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"footer"[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"impressum.php"[/COLOR][COLOR=#abb2bf]>Impressum</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"kontakt.php"[/COLOR][COLOR=#abb2bf]>Kontakt</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"datenschutz.php"[/COLOR][COLOR=#abb2bf]>Datenschutz</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]> <[/COLOR][COLOR=#e06c75]img[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"footerlogo"[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]src[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Bilder/Ferienhauser_Logo.jpg"[/COLOR]
      [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]alt[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Logo Ferienportal"[/COLOR][COLOR=#abb2bf] [/COLOR]
      [COLOR=#abb2bf] /></[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]

      [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]body[/COLOR][COLOR=#abb2bf]>[/COLOR]
      [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]html[/COLOR][COLOR=#abb2bf]>[/COLOR]

      zz0.wvb70o4hk0szz

      Kommentar


      • #4
        Zitat von Palantine92 Beitrag anzeigen
        Hier nochmal der Quellcode
        Jetzt steht zwar nicht mehr alles in einer Zeile, aber dafür sind jede Menge Leerzeichen entfernt und keinerlei Einrückungen vorhanden.

        Kommentar


        • #5
          [COLOR=#be5046]<?php[/COLOR]
          [COLOR=#7f848e]//Aufbau der Verbindung [/COLOR]
          [COLOR=#c678dd]require[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#98c379]"connection.php"[/COLOR][COLOR=#abb2bf]);[/COLOR]
          [COLOR=#7f848e]//Starten der Seasson [/COLOR]
          [COLOR=#56b6c2]session_start[/COLOR][COLOR=#abb2bf](); [/COLOR]
          [COLOR=#7f848e]//Einbinden css Datei[/COLOR]
          [COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]'<link rel="stylesheet" type="text/css" href="styleneu.css">'[/COLOR][COLOR=#abb2bf]; [/COLOR]

          [COLOR=#e06c75]$Merker[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]"eigentuemer_ID"[/COLOR][COLOR=#abb2bf]];[/COLOR][COLOR=#7f848e]//Übergabe der gemerkten ID_Eigentümer[/COLOR]
          [COLOR=#7f848e]//Ergebnisliste Kerndaten produzieren produzieren[/COLOR]
          [COLOR=#e06c75]$stmt[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$con[/COLOR][COLOR=#abb2bf]->[/COLOR][COLOR=#61afef]prepare[/COLOR][COLOR=#abb2bf]([/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"[/COLOR][COLOR=#c678dd]SELECT[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#abb2bf]*[/COLOR][COLOR=#98c379],[/COLOR]
          [COLOR=#98c379] GROUP CONTACT ([/COLOR][COLOR=#d19a66]k[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]keywords[/COLOR][COLOR=#98c379]),goo[/COLOR]
          [COLOR=#98c379] [/COLOR][COLOR=#c678dd]FROM[/COLOR][COLOR=#98c379] haeuser [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] h,ausstattungsmerkmale [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] a, freizeitmoeglichkeiten [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] f, keywords [/COLOR][COLOR=#c678dd]as[/COLOR][COLOR=#98c379] k[/COLOR]
          [COLOR=#98c379] [/COLOR][COLOR=#c678dd]WHERE[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]a[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]f[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]k[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]eigentuemer_ID[/COLOR][COLOR=#98c379] [/COLOR]
          [COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]a[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]f[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#c678dd]AND[/COLOR][COLOR=#98c379] [/COLOR][COLOR=#d19a66]h[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#d19a66]k[/COLOR][COLOR=#98c379].[/COLOR][COLOR=#d19a66]Haus_ID[/COLOR][COLOR=#98c379] [/COLOR]
          [COLOR=#98c379] [/COLOR][COLOR=#98c379]"[/COLOR][COLOR=#abb2bf]);[/COLOR]
          [COLOR=#e06c75]$result[/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$stmt[/COLOR][COLOR=#abb2bf]->[/COLOR][COLOR=#61afef]execute[/COLOR][COLOR=#abb2bf]();[/COLOR]
          [COLOR=#e06c75]$Ergebnisliste[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$stmt[/COLOR][COLOR=#abb2bf]->[/COLOR][COLOR=#61afef]fetchAll[/COLOR][COLOR=#abb2bf]();[/COLOR]
          [COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
          [COLOR=#abb2bf]<![/COLOR][COLOR=#e06c75]DOCTYPE[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]html[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]html[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]head[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]meta[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]charset[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"UTF-8"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]meta[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]http-equiv[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"X-UA-Compatible"[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]content[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"IE=edge"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]meta[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]name[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"viewport"[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]content[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"width=device-width, initial-scale=1.0"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]title[/COLOR][COLOR=#abb2bf]>Übersicht</[/COLOR][COLOR=#e06c75]title[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]link[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"stylewebproject.css"[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]rel[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"stylesheet"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]script[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]src[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"main.js"[/COLOR][COLOR=#abb2bf]></[/COLOR][COLOR=#e06c75]script[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]head[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]body[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]header[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"headerimage"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]> <[/COLOR][COLOR=#e06c75]img[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Startseitelogo"[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]src[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Bilder/Ferienhauser_Logo.jpg"[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]alt[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Logo Ferienportal"[/COLOR][COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] /></[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]

          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"topnav"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"frontpage.php"[/COLOR][COLOR=#abb2bf]>Startseite</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Angebote.php"[/COLOR][COLOR=#abb2bf]>Angebote</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]if[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#56b6c2]isset[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]]) [/COLOR][COLOR=#56b6c2]&&[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]!empty[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]])) {[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"<a href='Verwaltung.php' >Verwaltung</a>"[/COLOR][COLOR=#abb2bf];[/COLOR]
          [COLOR=#abb2bf] } [/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]else[/COLOR][COLOR=#abb2bf]{[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"<a href='login.php'>Verwaltung</a>"[/COLOR][COLOR=#abb2bf];[/COLOR]
          [COLOR=#abb2bf] }[/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]if[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#56b6c2]isset[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]]) [/COLOR][COLOR=#56b6c2]&&[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]!empty[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'eigentuemer_ID'[/COLOR][COLOR=#abb2bf]])) {[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#98c379]"<p class='Schriftrechts'>Anmeldung als: <?php echo [/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#98c379][username]; ?></p>"[/COLOR][COLOR=#abb2bf];[/COLOR]
          [COLOR=#abb2bf] } [/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]else[/COLOR][COLOR=#abb2bf]{[/COLOR]
          [COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] }[/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
          [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]header[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"row"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"VerwaltungscontainerHeader"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]h2[/COLOR][COLOR=#abb2bf]>Übersicht deiner eingebenen Häuser, [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$_SESSION[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]"Vorname"[/COLOR][COLOR=#abb2bf]][/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf] !</[/COLOR][COLOR=#e06c75]h2[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"UebersichtHauserContainer"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]foreach[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$Ergebnisliste[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]as[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf]):[/COLOR]
          [COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"card"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"ContainerRechts"[/COLOR][COLOR=#abb2bf] >[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>Ferienhaus: [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'Name'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>Haus ID: [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'Haus_ID'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>Registrierungsdatum [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'Registrierungsdatum'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]> Ausstattungs ID [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'ausstattung_id'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]h3[/COLOR][COLOR=#abb2bf]> </[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]> freizeitmoeglichkeiten ID [/COLOR][COLOR=#be5046]<?=[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'freizeitmoeglichkeiten_id'[/COLOR][COLOR=#abb2bf]]; [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR][COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]> </[/COLOR][COLOR=#e06c75]p[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]foreach[/COLOR][COLOR=#abb2bf]([/COLOR][COLOR=#e06c75]$Ergebnisliste[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]as[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf]):[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#56b6c2]echo[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#e06c75]$row[/COLOR][COLOR=#abb2bf][[/COLOR][COLOR=#98c379]'keywords'[/COLOR][COLOR=#abb2bf]];[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]endforeach[/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]


          [COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]<?php[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#c678dd]endforeach[/COLOR][COLOR=#abb2bf];[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#be5046]?[/COLOR][COLOR=#be5046]>[/COLOR]
          [COLOR=#abb2bf] </[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]<[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"footer"[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"impressum.php"[/COLOR][COLOR=#abb2bf]>Impressum</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"kontakt.php"[/COLOR][COLOR=#abb2bf]>Kontakt</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]href[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"datenschutz.php"[/COLOR][COLOR=#abb2bf]>Datenschutz</[/COLOR][COLOR=#e06c75]a[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf] <[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]> <[/COLOR][COLOR=#e06c75]img[/COLOR][COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]class[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"footerlogo"[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]src[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Bilder/Ferienhauser_Logo.jpg"[/COLOR]
          [COLOR=#abb2bf] [/COLOR][COLOR=#d19a66]alt[/COLOR][COLOR=#abb2bf]=[/COLOR][COLOR=#98c379]"Logo Ferienportal"[/COLOR][COLOR=#abb2bf] [/COLOR]
          [COLOR=#abb2bf] /></[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]div[/COLOR][COLOR=#abb2bf]>[/COLOR]

          [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]body[/COLOR][COLOR=#abb2bf]>[/COLOR]
          [COLOR=#abb2bf]</[/COLOR][COLOR=#e06c75]html[/COLOR][COLOR=#abb2bf]>[/COLOR]

          zz0.0jt7s5bfnxkzz

          Kommentar


          • #6
            Klicke auf die Grafik für eine vergrößerte Ansicht

Name: grafik.png
Ansichten: 532
Größe: 4,6 KB
ID: 1046175

            Kommentar


            • #7
              PHP-Code:
               <?php
              foreach($Ergebnisliste as $row):  
                 echo 
              $row['keywords'];
              break;
              ?>
              Schau mal was passiert wenn du das so machst.

              p.s. Bitte an die Code Conventions halten, das kann ja kein Schwein lesen...

              Kommentar


              • #8
                Entwickeln Sie eine Datenbank zur Speicherung von Informationen über Ferienhäuser. Sie können separate Tabellen für Häuser, Einrichtungen, Ferienhäuser, Schlüsselwörter und Bilder erstellen, die durch gemeinsame Schlüssel miteinander verbunden sind. Erstellen Sie PHP-Formulare, damit Vermieter https://aspuraclip.com/ Informationen über ihre Ferienhäuser eingeben können. Jede Seite könnte einem bestimmten Bereich gewidmet sein, z. B. Straße/Ort, Ausstattung usw. Implementieren Sie eine Datenvalidierung, um sicherzustellen, dass die eingegebenen Informationen korrekt und vollständig sind, bevor sie in die Datenbank aufgenommen werden. Erstellen Sie eine Übersichtsseite, auf der Vermieter alle für jede Ferienwohnung eingegebenen Informationen einsehen können. Verwenden Sie eine Mapping-API (z. B. Google Maps), um Ferienhäuser auf einer Karte anzuzeigen. Jedes Ferienhaus kann durch einen Marker dargestellt werden, der beim Anklicken detaillierte Informationen anzeigt.
                Zuletzt geändert von xetitox; 30.11.2023, 16:24.

                Kommentar

                Lädt...
                X