I understand the confusion with ? and &. I apologize for that.
Ok, we take it from the beginning:
When I go to a page on my Wiki, the link is in a format that is:
http://mypage.com/PKAmanual/doku.php?id=manualen:annonsering
I would like a link on each page that creates a printable page (i want to put this link in my template, witch is in php). You get such a page by adding &do=export_xhtmlbody
at the end of the above link (ie http://mypage.com/PKAmanual/doku.php?id=manualen:annonsering&do=export_xhtmlbody
).
In order for this link to be created, so that it matches the particular page you have up, I want to get a php code that “creates” the link that fits the page. When I look at another link they use .$Url.
to get the link for the current page but when I tried to do the link as follows; <? php echo '<a href="'.$Url.'&do=export_xhtmlbody">Print</a>' ?>
then it won’t be right.
Hope it gave a little more clarity to this?