> <?php /*
>
> your mixed html and php code here
>
> */ ?>
>
> that way php will take everything inside the <?php ?> tags and
> comment them
> out, regardless of if they are html or php or whatever.

This won't work is your PHP code has comments using /* */ syntax in it
already.  I always just through an if(false){ } around huge portions of
mixed content that I want to comment out.  Unless you have unbalanced curly
braces in the chunk you want to comment out, it should work.

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

Reply via email to