Skip to content Skip to sidebar Skip to footer

Php Domdocument Alter Conditional Comments

I have this html file with a conditional comment. ) as $head) { foreach($head->childNodes as $node) { if($node instanceof DOMComment) { $node->replaceData(16,60,'test'); } } }

This code works, I just let you search how to get 'offset' and 'count' value for the replaceData method !


Post a Comment for "Php Domdocument Alter Conditional Comments"