Hi,

> > Try to sort the articles by name or something in reverse order.
> > Then you have to call fetch() once :)
> > 
> 
> You mean:
> 
> <? $art = mgd_list_topic_articles(id, sort);
> while ($art && $art->fetch())
>       {
>       }
> $art = mgd_get_article($art->id);
> ?>

Very close:

$art = mgd_list_topic_articles_all($topicid, "reverse name");

if ($art && $art->fetch()) {  // just the first article
 ...
}

Regards
  Peter

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

Reply via email to