I am using SimpleHTMLDOM and I have two tables with identical columns and I need to extract the column titles?
Below is what I am using to get all the data but now I need to only select the Month and corresponding column titles (jan, feb, etc)
$r_tables = $dom->find('table');
foreach($r_tables as $table) {
$r_cells = $table->find('td');
foreach($r_cells as $cell) {
echo $cell->plaintext.'<br />';
}
}