> Given a topic id, is there an api to retrieve the parent topic?
> 
> Something like:  $parent_topic=mgd_get_parent_topic($topic_id);
> 
> Is there another way to retrieve it?

$current = mgd_get_topic($id);
$my_parent = mgd_get_topic($current->up);

:)

Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to