hi,
so it should be something like this:
main.php:
<div class="print_only">
<?php
$string = "$ID";
$string = str_replace("[","",$string);
$string = str_replace("]","",$string);
$string = explode(":",$string);
$laatste = end($string);
echo "$laatste";
?>
</div>
layout.css:
.print_only {display:none;}
(I assume $ID is the path of the page?? or not?)
This should work you think??
koko