Estoy usando esto
Código PHP:
Ver original<?php
include('simple_html_dom.php');
$link = 'http://www.ontvtonight.com/guide/listings/channel/69022174/wcbs-hdtv.html';
$html = file_get_html($link);
foreach($html->find('tbody tr') as $key=>$value) {
foreach($html->find('tbody tr td h5.thin') as $row) {
if(!$row->find('a')) {
}
}
foreach($html->find('tbody tr td h5.thin a') as $row) {
$titulo[] = preg_replace("/[\r\n\t]+/", "", $row->plaintext); }
$tabla[$date[$key]] = $titulo[$key];
}
$array = $tabla;
$copiar = 0;
$fecha_actual = date("h:i a"); $array_final = [];
foreach($array as $date => $value){
if($date >= $fecha_actual) $copiar = 1;
if($copiar == 1) $array_final[$date] = $value;
}
echo "<pre>",print_r($array_final),"</pre>"; ?>
pero no me quiere funcionar