On Mon, Sep 15, 2003 at 08:59:53PM +0100, Wei Wang wrote:
: 
: This may sound very newbie. But since html comment uses <!-- -->
: which doesn't comment out the php code. And the php comment /**/ //
: apparently doesn't work on html. So how do I comment out a chunk of
: html/php mixed code? 

Remove the chunk of mixed code and save it into an external PHP file,
e.g. mixed_code.php.  In place of removed chunk, use an include() or
require() statement, e.g. include("mixed_code.php").  Now comment
that one line in or out as needed.

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

Reply via email to