woher kommt die 1 ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • woher kommt die 1 ?

    In diesem kleinen aber feinen zusammengebastelten Code
    scheint irgendwas nicht zu stimmen. Nun meine Frage an euch Profis:

    Warum bekomme ich bei der Ausgabe von $inhalt am Ende
    eine 1 zu sehen?

    PHP Code:
       include ('./header.html');

       echo 
    "<table width='98%' border='0'><tr><td><font class=textBlack>";
       
    $address "./$_GET[address]";
       
    $inhalt = include ("$address");
       echo 
    "$inhalt";
       echo 
    "</font></td></tr></table>";

       include (
    './footer.html'); 
    PHP Code:
    Ausgabe:

    Textinhalt Textinhalt Textinhalt Textinhalt Textinhalt Textinhalt 1 
    Last edited by alexs; 09-08-2004, 10:36.

  • #2
    Re: woher kommt die 1 ?

    RTFM, verflucht!

    http://de.php.net/manual/de/function.include.php
    beispiel 11.7


    und das nächste mal kriegst du RTFM wirklich auf die stirn tatöwiert!
    (oder noch woanders hin ...)
    I don't believe in rebirth. Actually, I never did in my whole lives.

    Comment

    Working...