php - DOMXpath and get the result
I try to get the result of a span tag like this:
The problem, the span class is often names css "AB" into the html code and I want to get the one span tag with the itemprop ratingvalue, only.
<span class="AB" itemprop='ratingValue'>Count</span>
Share solution ↓
Link To Answer People are also looking for solutions of the problem: using $this when not in object context
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.