bpat1434 wrote:That is of course if $html is where you're storing your cURL HTML contents.
We are also assuming that the structure of the HTML code is exactly as you showed us, and that only numbers (or an empty value="") will appear in the value.
If the page ever changes, such as if it's made HTML/XHTML compliant (it's definitely not compliant at the moment), you'll have to re-examine it and modify the REGEXP.
Such obstacles are expected when harvesting data from websites without a reliable method such as RSS/XML/etc.