Ok, I got the message, and replied with the code there.
For anyone else to reference, here's some code that should work, though it is specific to the page in question:
PHP Code:
<?php
function get_table($page,$b) {
$f = file_get_contents($page);
$st = strpos($f,'<table',strpos($f,'<b>'.$b.'</b>'));
$fn = strpos($f,'</table>',strpos($f,'<table',strpos($f,'<b>'.$b.'</b>')))-strpos($f,'<table',strpos($f,'<b>'.$b.'</b>'));
return substr($f,strpos($f,'<table',$st,$fn);
}
echo get_table('http://the.com/page.htm','D+');
?>
This solution will work for most cases, but sometimes there might be something weird that happens, like a table in the middle of the table, and it gets confusing.
Bookmarks