Reputation: 207
I'm working with PHP Simple HTML DOM Parser.
I was wondering if it is possible to extract the HTML comments (<!-- -->
).
Can you?
Upvotes: 2
Views: 3084
Reputation: 6389
Directly from their docs:
// Find all comment (<!--...-->) blocks
$es = $html->find('comment');
http://simplehtmldom.sourceforge.net/manual.htm
Upvotes: 4