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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to