У меня есть код:
//подключаем simple_html_dom
include 'simple_html_dom.php';
//получаем нужную страницу
define('INDEXURL', 'http://zakupki.gov.ru/pgz/public/action/plangraphics/run?customerName=&customerOrgId= &_districtsAndRegionsSearch=on&year=&productCode=&_includingInnerPositions=on&pro ductIds=39621&contractPriceStartRaw=&contractPriceEndRaw=¤cy=&contractSubject=& amp;placementStages=NP&_placementStages=on&placementStages=AP&_placementStages=on&_pl acementStages=on&_placementStages=on&_placementStages=on&orderDateStartRaw=&orderDate EndRaw=¬ificationId=');
$ch = curl_init(INDEXURL);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result_data = curl_exec($ch);
curl_close($ch);
$html = new simple_html_dom;
$html->load($result_data);
$search = $html->find('table.width100', 0);
echo $search->outertext;
Хочу получить таблицу с результатами поиска. Не понимаю, почему не выходит найти тег с нужным классом. Что делаю не так? Подскажите, пожалуйста.