Re: Automatisch - baseportal Forum - Web-Anwendungen einfach, schnell, leistungsfähig!
baseportal
English - Deutsch "Es gibt keine dummen Fragen - jeder hat einmal angefangen"

 baseportal-ForumDie aktuellsten 10, 30, 50, 100 Einträge anzeigen.  

 
 Ausgewählter Eintrag: Zur Liste 
    Beitrag von Olaf (382 Beiträge) am Sonntag, 22.Juni.2003, 12:35.
    Re: Automatisch

      Hallo!

      1.

      löschen:

      </head>
      <del "vom>-14","News";>
      <body bgcolor=808080 text=000000>
      

      ----

      ersetze:
      </head>
      <body bgcolor=808080 text=000000>
      <perl>
      del "vom>-14","News";
      </perl>
      

      2.
      im Loop fehlt irgendwie die Datenbank und die Sortierung ist auch nicht näher bezeichnet...

      Tschüüüs

      Olaf


    Antworten

 Alle Einträge zum Thema: Zur Liste 
    Beitrag von Billy (11 Beiträge) am Sonntag, 22.Juni.2003, 11:03.
    Automatisch

      Liebe Freunde,

      habe ein Problem mit automatisch löschen.

      Finde keine Lösung, obwohl ich die Anleitung gelesen und auch im Forum diverse Artikel gelesen habe.

      Ich habe eine Datenbank news, das Datum des Eintrages wird im Feld vom abgelegt. Ich will alle Einträge automatisch löschen, die älter als 14 Tage sind.

      Habe folgende Zeile eingefügt, aber diese führt zur nachfolgenden Fehlermeldung. Kann mir jemand einen Tipp.

      Vielen Dank und viele Grüße


      <del "vom>-14","news";>
      

      Fehlermeldung:
      [error (loop): Glob not terminated at (eval 360) line 2. ][error (loop): Glob not terminated at (eval 364) line 2. ][error (loop): Glob not terminated at (eval 368) line 2. ][error (loop): Glob not terminated at (eval 372) line 2. ][error (loop): Glob not terminated at (eval 376) line 2. ][error (loop): Glob not terminated at (eval 380) line 2. ][error (loop): Glob not terminated at (eval 384) line 2. ][error (loop): Glob not terminated at (eval 388) line 2. ][error (loop): Glob not terminated at (eval 392) line 2. ]

     Antworten

    Beitrag von Raphael (267 Beiträge) am Sonntag, 22.Juni.2003, 11:21. WWW: www.coderarena.de
    Re: Automatisch

      schreib mal:

      del "vom>-14","news";

      beachte, dass das feld "vom" eine sortierung haben muss!

      cu, raphael

     Antworten

    Beitrag von Billy (11 Beiträge) am Sonntag, 22.Juni.2003, 11:52.
    Re: Automatisch

      Hallo Raphael,

      vielen Dank für die schnelle Antwort.

      Die Fehlermeldung ist weg, aber löschen will er die Daten trotzdem nicht.

      Nachfolgend der Code. Ich muss irgend etwas falsch haben. Sortierung hatte ich bereits.

      Viele Grüße


      <html>
      <head>
      <title></title>
      </head>
      <del "vom>-14","News";>
      <body bgcolor=808080 text=000000>
      <table width=100% bgcolor=008080>
      <tr><td><h2>News</h2></td></tr>
      </table>
      <table width=100% height=100%>
      <tr><td width=130 valign=top height=100% bgcolor=cfcfcf>
      <include src=subnavig&Aktiv=News>
      </td><td valign=top>
      <loop sort=- code=perl>
      $Von = $Antwort ne "" ? "<a href='mailto:$Antwort'>$Autor</a>" : "$Autor";
      out <<Ausgabe;
      <table width=100% align=center bgcolor=ffffff>
      <tr><td bgcolor=cfcfcf><b>$Titel</b></td></tr>
      <tr><td><ul>$Text</ul></td></tr>
      <tr><td bgcolor=cccccc><font size=1>$Vom  $Von</font></td></tr>
      </table><hr>
      
      Ausgabe
      </loop>
      </td></tr></table>
      </body>
      </html>
      

     Antworten

    Beitrag von Olaf (382 Beiträge) am Sonntag, 22.Juni.2003, 12:35.
    Re: Automatisch

      Hallo!

      1.

      löschen:

      </head>
      <del "vom>-14","News";>
      <body bgcolor=808080 text=000000>
      

      ----

      ersetze:
      </head>
      <body bgcolor=808080 text=000000>
      <perl>
      del "vom>-14","News";
      </perl>
      

      2.
      im Loop fehlt irgendwie die Datenbank und die Sortierung ist auch nicht näher bezeichnet...

      Tschüüüs

      Olaf

     Antworten

    Beitrag von Billy (11 Beiträge) am Sonntag, 22.Juni.2003, 14:05.
    Re: Automatisch

      Hallo Olaf,

      es funktioniert.

      Vielen Dank für die Hilfe!!

      Alles Gute!

      Billy

     Antworten


     
 Liste der Einträge von 37050 bis 37200:Einklappen Zur Eingabe 
Neueste Einträge << 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | Neuere Einträge < Zur Eingabe  > Ältere Einträge | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 >> Älteste Einträge


Zurück zur Homepage

© baseportal.de. Alle Rechte vorbehalten. Nutzungsbedingungen



powered in 0.11s by baseportal.de
Erstellen Sie Ihre eigene Web-Datenbank - kostenlos!