trooper

{source}
<!– You can place html anywhere within the source tags –>

<script language=”javascript” type=”text/javascript”>
// You can place JavaScript like this

</script>
<?php
// You can place PHP like this

libxml_use_internal_errors(true);
libxml_disable_entity_loader(true);

$doc = new DOMDocument();
$doc->loadHTMLFile(‘https://trooper.be/zoek-vereniging?Search=UZKZ’);
$classname=”donut-chart-value”;
$xpath = new DOMXpath($doc);
//$node = $xpath->query(‘//*[@id=”association-list”]/div[2]/div/a/div/div[2]/div[2]/div/div/text()’)->item(0); //instance of DOMNodeList
//$node = $xpath->query(“//*[@id=’association-list’]”);

echo $node->nodeValue; // text

 

?>
{/source}