2009-10-19 23:29:51 UTC
Hello,
See below
<!-- lack of a quote in first line -->
<div id='test>
<div class='class1'>word1...</div>
<div class='class2'>word2...</div>
The text I want to get
<div class='class3'>word3...</div>
</div>
$html=strgethtml('<html><your sample> </html>');
echo $html->plaintext
shows [The text I want to get]
I hope I have not made a slip scriptum.
Good luck