If your host config allows URLs with fopen, you can simply use [man]file_get_contents/man to grab the web page and store it in a variable. If your config does not allow that, then you'll need to do a little more work, such as using the [man]cURL[/man] functions.
Once you have the string, you then can either use pattern matching such as with [man]preg_match[/man] or [man]preg_match_all[/man] to locate the text of interest. Or you could use the [man]DOM[/man] functions to load it into a DOM object, and then walk your way through the DOM structure to get at the data you want.