Re: including an html file!!

From: Date: Sun, 30 May 2004 13:48:13 +0000
Subject: Re: including an html file!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187227@lists.php.net to get a copy of this message
echo returns 1 on success, so the interpreter first evaluates the expression inside the echo() call, and thus includes the html file, and then, as the evaluation returned 1, it echoes 1 to the final file. You should only do "include(...)", without the echo. Good luck, Nicolas

« previous php.general (#187227) next »