On Mon, 15 Sep 2003 20:59:53 +0100, Wei Wang <[EMAIL PROTECTED]> wrote:

hi,

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?

for temporary comments I do what jennifer does and use a if(false) block to not execute it


<?php
if(false) {

// other php code
/* that has comments like this */
?><html code><?php

} // if false
?>

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



Reply via email to