Content wird 2 mal eingefügt, warum??

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

  • Content wird 2 mal eingefügt, warum??

    Hallo, ich hab per include Befehl meine HTML Seite getrennt, aber mein Content wird immer doppelt eingefügt. Egal was ich anstelle.

    <?php
    include("navi1.php");
    include("content.php");
    include("navi2.php")
    ?>


    das ist der Befehl mit dem ich sie einfüge und das ist mein content:

    Code:
    <td width="392" style="border-style: none; border-width: medium" valign="top"><strong><font color="#FFFFFF" size="1"
    face="Verdana, Arial, Helvetica, sans-serif">NEWS STEHEN HIER ...</font></strong></td>
    Weiß jemand Rat??
    Danke euch!

  • #2
    vielleivht wird in der navi.php der content auch schon included?!?
    2 meiner pages:

    Kommentar


    • #3
      nope, nur einmal in content selbst!

      Der Browser spuckt dann diesen Quellcode hier raus:

      Code:
      <div style="position: absolute; top: 358px; left: 
      33px; width: 97px; font-size: 8pt; height: 366px;"> <td width="392" style="border-style: 
      none; border-width: medium" valign="top"><strong><font color="#FFFFFF" 
      size="1"
      face="Verdana, Arial, Helvetica, sans-serif">
      NEWS STEHEN HIER ...</font></strong></td>
      </div><td width="392" style="border-style: 
      none; border-width: medium" valign="top">
      <strong><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">NEWS
                  STEHEN HIER ...</font></strong>
      </td>
      Zuletzt geändert von goshi; 02.05.2006, 22:38.

      Kommentar


      • #4
        wie? nur einmal im content selbst?

        Du includest navi1, content und navi2
        und innerhalb von content noch mal

        Kommentar


        • #5
          cache? (zb alte fehlerhafte Version)

          Kommentar

          Lädt...
          X