Re: including an html file!!
| From: | Johan Holst Nielsen | Date: | Sun, 30 May 2004 13:47:58 +0000 |
| Subject: | Re: including an html file!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187226@lists.php.net to get a copy of this message | ||
Little Boy wrote:
when i include a html file i alwas do it with: echo(include('htmlfile.html')); everythings works fine except the fact, that after the included file the is a '1' printed out, anybody, an idea why???Because you dont need echo - include output the html :) just <?php include('htmfile.html'); ?> Check the documentation http://php.net/include - include returns 1 - thats why it is printed out when you do echo :) -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk