I am raw html block. Click edit button to change this html
PHP Test
$value) { // This will search in the 2 jsons
echo '
';
echo $key;
echo '
';
}
?>
$jsons) { // This will search in the 2 jsons
echo '
';
foreach($jsons as $key => $value) {
echo '
';
echo $value;
echo '
';
}
echo '
';
}
?>
loadHTMLFile($url2);
// // If the remote page might not being valid against HTML standards,
// // you might want to use the "silence operator" : @
// // @$DOM->loadHTMLFile($url2);
// // If you want to select an element by it's attribute value, you use XPath:
// $selector = new DOMXPath($DOM);
// $element = $selector->query('body > div.FullRow > div.row.fund-info-boxes > div:nth-child(6) > div > span.value')->item(0);
// $html2 = file_get_contents($url2);
// $result = $html->find('.fund-info-boxes', 0);
// And then export to json:
// echo json_encode( $html2 );
// echo $html;
?>