Quote Originally Posted by barco57 View Post
In PHP, we use // to make a single-line comment or /* and */ to make a large comment block.

<?php

//This is a comment

/*
This is
a comment
block
*/

?>
Quote Originally Posted by yellow1912 View Post
To add some more description:

<?php

//This is a comment

/*
This is
a comment
block
*/

?>

<!-- at this point, this is out side of php, you can see the php is closed by ?> above, so here you need to comment like this -->

Thanks, folks!

I understand what you're saying, and in fact have tried these methods, but the block of code I'm trying to comment out is a mixed bag of php and html, like most of the php files.

So am I to understand that to comment out this single block of code, I need to use a combination of html comment tags for those lines, and php comment tags for those? If so, that seems very cumbersome, and would make it near impossible to tell later on that the one block of code was removed from service as part of a single edit.

I must be missing something...

DBB1