I'm using CURL to scrape a progress bar from a website. I already managed to remove everything from the page except the part that I need. It's saved in a array as $progress.
This is $progress:
<p>Questions Left: <span id="ProgQ">0</span>/25</p>
Now I want to get the get the number 0 in the variable $done and the 25 in the variable #total
I read into this problem, and DOM was suggested, but I'm completly clueless, can anyone explain me step by step how I'm supposed to do this in php?