On 08.12.99 (09:13), [EMAIL PROTECTED] wrote:
> article->id is the ID of the article. What you want is
> 
> if ($argv[0]) {
>   $article = mgd_get_article($argv[0]);
>   /* the ID in $argv[0] may be bogus. $article will be unset if so */
>   if ($article) $topic = mgd_get_topic($article->topic);
> }

Thanks -- well, it should've been quite obvious, but there is no
reference for article records yet ...

     phr

-- 
> When we lose this battle, we _will_ lose the war.
                  -- Dave Whitinger on the importance of Mozilla

--
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