Im new in PHP and wanna make a little script. I need to parse info from ex. http://sample.com/value.php This is html:
<ul>
<li>Value: 100<ul>
<li>Note: abcd </li>
</li>
</ul>
<ul>
<li>Note: adad<ul>
<li>Note: qweqw </li>
</li>
</ul>
<ul>
<ul>
<li>Value: 200<ul>
<li>Note: abcd </li>
</li>
</ul>
<ul>
But in my script I need to parse only info with value (Value: 100, Value: 200) website got a lot of code about 200-300 lines. ul and li don't have any class so I can't use getElementsByTagName(). Anybody know how solve that problem ?