So to get this data out I am looking to use regex to get all the data in that table then I can go through the table rows and get my data. So I need a bit of help writing this expression.
Here is the beginning and end of the table:
Code: Select all
<table cellspacing="0" border="0" id="ctl00_ContentPlaceHolder1_dgStats_ctl01" style="width:100%;border-collapse:collapse;table-layout:fixed;overflow:hidden;empty-cells:show;">
...
</tbody>Code: Select all
preg_match('#<table [.]+>[.]+</tbody>#mis', $info, $matches);
dump($matches);