Hello Piotr,

you wrote:
> I called it like this because:
> <? function twalk($id) { 
> 55:      if (!$id || !($t = mgd_get_topic($id))) return;
> 56:      twalk($t->>up);
> 57:      printf(' / <a href="/topic/%d.html">%s</a> ', $t->id, 
>htmlentities($t->>name));
Replace '/topic/%d.html' by '/topic/?topic=%d' and then examine $topic
in your page '/topic/' for actual ID for requested topic.
> 58:    } 
> 59:    if ($topic) { twalk($topic->up); ?> / &(topic.name); <? } else echo 'top 
>level topic'; ?>


Best regards,
 Alexander                            mailto:[EMAIL PROTECTED]



--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to