Simple HTML Dom: How to remove elements?

There is no dedicated methods for removing elements. You just find all the img elements and then do

$e->outertext="";

Leave a Comment