How would I go about commenting all of this code when it has breaks in the PHP sections?
If I wrap /* */
around it, it doesn't work.
Obviously I can make it work by not being lazy, but if I want to be lazy... How might you comment this whole block?
if($fields){
?>
<ul>
<?php
foreach($fields as $field){
?>
<li>
<?php
/* if($field['label']){
echo $field['label'];
} */
print_ext($field);
?>
</li>
<?php
}
?>
</ul>
<?php
}