Sorry, but I don't know how to do it in phpBB (I think that's what you are using). I would guess that it's not just php code but rather you need to pull the 'breadcrumb' link from one of the variables.
Try examining the existing code and see if you see any existing link code. It must be on the page somewhere since it's probably at the top of every page.