Heey,
Sorry but my english isnt that good..
I have a php script and i want to get into my template
PHP Code:
<?php
$doc = new DOMDocument();
$doc->load('http://www.vid.nl/VI/_rss');
foreach ($doc->getElementsByTagName('item') as $node) {
$data = $node->getElementsByTagName('title')->item(0)->nodeValue;
}
if (strpos($data, "(geen file)")) {
$data = "0 km";
};
if (strpos($data, "km)")) {
$a = strpos($data, "(");
$data = substr($data, $a + 1);
$a = strpos($data, ")");
$data = substr($data, 0, $a);
}
$files = "Totaal: ".$data;
?>
and i have enter $files into my template.. but i dont see anything..
Please help me..
Wajow-Community