pp wrote:
> My vote is to keep $object->creator as its username , not $id.
> I noticed that running midgard based forum I have to
> run two querries for every topic or article.
>
> <? $art = mgd_list_topic_articles($topic);
> while ($art->fetch()) {
> $article = mgd_get_article($art->id);
> $creator = $article->creator;
> $person = mgd_get_person ($creator->id);
That won't work. $article->creator is not object, so you can't call
members on it.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]